Slindee,
The "proper" way is not to expose non CLS-compliant publicly. Either ensure
that Crownwood.DotNe tMagic 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(F alse)> _
| Public Sub LoadDirectoryNo des(ByVal directoryName As String, _
| ByVal nodParent As
| Crownwood.DotNe tMagic.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*******@deve loperdex.com> wrote in message
news:OM******** *****@TK2MSFTNG P15.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 LoadDirectoryNo des(ByVal directoryName As String, _
| ByVal nodParent As
| Crownwood.DotNe tMagic.Controls .Node)
|
|
|
| *** Sent via Developersdex
http://www.developersdex.com ***