Slindee,
The "proper" way is not to expose non CLS-compliant publicly. Either ensure
that Crownwood.DotNetMagic is CLS compliant, or ensure that the type/method
is not public (use Friend for example).
Alternatively you can mark the class, method, or even assembly as not
CLS-Compliant using the CLSCompliant attribute.
<CLSCompliant(False)> _
| Public Sub LoadDirectoryNodes(ByVal directoryName As String, _
| ByVal nodParent As
| Crownwood.DotNetMagic.Controls.Node)
http://msdn.microsoft.com/library/de...classtopic.asp
--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley -
http://www.tsbradley.net
"Slindee" <an*******@developerdex.com> wrote in message
news:OM*************@TK2MSFTNGP15.phx.gbl...
|I am getting a warning message:
| Type of parameter 'nodParent' is not CLS-compliant
| on the following statement. Anything I can do to satisfy the warning?
|
| Public Sub LoadDirectoryNodes(ByVal directoryName As String, _
| ByVal nodParent As
| Crownwood.DotNetMagic.Controls.Node)
|
|
|
| *** Sent via Developersdex
http://www.developersdex.com ***