Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CLSCompliantAttribute(Boolean) Constructor

Definition

Namespace:
System
Assemblies:
mscorlib.dll, System.Runtime.dll
Assemblies:
netstandard.dll, System.Runtime.dll
Assembly:
System.Runtime.dll
Assembly:
mscorlib.dll
Assembly:
netstandard.dll
Source:
CLSCompliantAttribute.cs
Source:
CLSCompliantAttribute.cs
Source:
CLSCompliantAttribute.cs
Source:
CLSCompliantAttribute.cs
Source:
CLSCompliantAttribute.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Initializes an instance of the CLSCompliantAttribute class with a Boolean value indicating whether the indicated program element is CLS-compliant.

public:
 CLSCompliantAttribute(bool isCompliant);
public CLSCompliantAttribute(bool isCompliant);
new CLSCompliantAttribute : bool -> CLSCompliantAttribute
Public Sub New (isCompliant As Boolean)

Parameters

isCompliant
Boolean

true if CLS-compliant; otherwise, false.

Applies to


Feedback

Was this page helpful?