語言

CodeTypeDeclaration.IsEnum 屬性

定義

取得或設定一個值,表示該型別是否為枚舉。

public:
 property bool IsEnum { bool get(); void set(bool value); };
public bool IsEnum { get; set; }
member this.IsEnum : bool with get, set
Public Property IsEnum As Boolean

屬性值

true若型別為列舉;否則,。 false

適用於