CodeTypeDeclaration.IsStruct 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指示类型是否为值类型(结构)。
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.