Passing arguments to Class Initializer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi there

I wonder if it's possible to have arguments in the Initialize Event, of a
Class. If so, how do I instantiate the Class and pass the argument/s
simultaneously, as is possible with vb.net.

Thanks
H
 
It is not possible to create an alternate Initialize method that takes
arguments. You initialize the class and then call another method to sent it
information.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top