Indicates whether the program element compiles with the Common
Language Specification. If the
attribute is not present, the VB.NET compiler does not enforce CLS
compliance. This can prevent other languages from successfully
accessing components written in VB.NET.
If a particular program element is marked as CLS-compliant, it is assumed that all contained program elements are CLS-compliant as well unless they are explicitly marked otherwise.
By default, Visual Studio adds the
<CLSCompliant> attribute to the
AssemblyInfo.vb file and sets its value to
Indicates whether the program element must be CLS-compliant
Read-only. Indicates whether the program element must be
CLS-compliant. Its value is set by the required
isCompliant parameter of the class