語言

CLSCompliantAttribute.IsCompliant 屬性

定義

取得布林值,表示該程式元素是否符合 CLS。

public:
 property bool IsCompliant { bool get(); };
public bool IsCompliant { get; }
member this.IsCompliant : bool
Public ReadOnly Property IsCompliant As Boolean

屬性值

true若程式元素符合 CLS;否則,。 false

適用於