CodeTypeDeclaration.IsStruct 属性

定义

获取或设置一个值,该值指示类型是否为值类型(结构)。

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

属性值

true 如果类型是值类型,则为 ;否则,为 false.

适用于