Brian Crowell wrote:

> System.Runtime.InteropServices.OptionalAttribute has a disclaimer in the
> documentation that says not all languages support optional parameters. So
> while this would be the correct way to mark the parameter so that it would
> be optional in VB.NET, it would still not be optional in C#, since C# does
> not support optional parameters.

Right. He was implementing something specifically for VB.net, not a general
purpose class (which he stated in his original e-mail). It's not a method he
designed, but rather one that's exposed in System.VisualBasic.dll.

> The System.ComponentModel namespace has nothing to do with COM; it is more
> for design surfaces, such as the ones in VS.NET.

Ahhh. :)

Brad

--
Read my web log at http://www.quality.nu/dotnetguy/


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to