Name

CLSCompliant

Valid on

All

Description

Specifies whether the program element is CLS-compliant. The CLSCompliantAttribute class constructor is:

Public Sub New(ByVal isCompliant As Boolean)

The isCompliant parameter indicates whether the program element is CLS-compliant.

The CLSCompliantAttribute class has a single property:

IsCompliant

Indicates whether the program element is CLS-compliant. The type is Boolean.

See Chapter 3 for information on the CLS and on what it means for a program element to be CLS-compliant.

Get Programming Visual Basic .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.