CodeVariable2.IsGeneric 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个值,该值指示当前类是否为泛型。
public:
property bool IsGeneric { bool get(); };
public:
property bool IsGeneric { bool get(); };
[System.Runtime.InteropServices.DispId(201)]
public bool IsGeneric { [System.Runtime.InteropServices.DispId(201)] get; }
[<System.Runtime.InteropServices.DispId(201)>]
[<get: System.Runtime.InteropServices.DispId(201)>]
member this.IsGeneric : bool
Public ReadOnly Property IsGeneric As Boolean
属性值
一个布尔值, true 如果当前类或结构为泛型,则该值为; 否则为 false 。
- 属性
注解
备注
在进行了某些类型的编辑之后,代码模型元素(例如类、结构、函数、特性、委托等)的值可能变为非确定性的,这意味着不能确定它们的值始终保持不变。