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

適用於