CLSCompliantAttribute Constructor (Boolean)

 

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

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public CLSCompliantAttribute(
	bool isCompliant
)

Parameters

isCompliant
Type: System.Boolean

true if CLS-compliant; otherwise, false.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: