CodeGenerator.IsCurrentStruct 属性

定义

获取一个值,该值指示所生成的当前对象是值类型还是结构。

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

属性值

true 如果当前对象是值类型或结构,则为 ;否则,为 false.

适用于