HighTechTalks DotNet Forums  

Optional Parameter

Dotnet Framework (Interop) microsoft.public.dotnet.framework.interop


Discuss Optional Parameter in the Dotnet Framework (Interop) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Sriman
 
Posts: n/a

Default Optional Parameter - 10-29-2007 , 06:07 PM






We are migrating the vb6 project to C#.Net 2005.
In this migration process we are facing one big issue with optional
parameter. Actually in C#.Net there is not optional parameter concept . For
that C# introduced 2 concepts like 1)overloading 2)params .
But problem is
1) I am not able to see access 0these overloading methods in vb6(for eg:
NewUser(string a), NewUser(string a, string b)). In vb6 its showing the
method name like(NewUser and NewUser_1)
2)If i use Params string[] concept: Not able to access/ see this in vb6.
giving error like vb6 doesn't support this method.

I Would appreciate if any one helps me in resolving this issue.

Regards,
Sriman


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.