CodeGenerator.IsCurrentEnum 属性

定义

获取一个值,该值指示正在生成的当前对象是否为枚举。Gets a value indicating whether the current object being generated is an enumeration.

protected:
 property bool IsCurrentEnum { bool get(); };
protected bool IsCurrentEnum { get; }
member this.IsCurrentEnum : bool
Protected ReadOnly Property IsCurrentEnum As Boolean

属性值

Boolean

如果当前对象是枚举,则为 true;否则为 falsetrue if the current object is an enumeration; otherwise, false.

适用于