CodeTypeRef2.ElementType 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置表示编程类型的对象。
public:
property EnvDTE::CodeTypeRef ^ ElementType { EnvDTE::CodeTypeRef ^ get(); void set(EnvDTE::CodeTypeRef ^ value); };
public:
property EnvDTE::CodeTypeRef ^ ElementType { EnvDTE::CodeTypeRef ^ get(); void set(EnvDTE::CodeTypeRef ^ value); };
[System.Runtime.InteropServices.DispId(5)]
public EnvDTE.CodeTypeRef ElementType { [System.Runtime.InteropServices.DispId(5)] [System.Runtime.InteropServices.TypeLibFunc(1024)] get; [System.Runtime.InteropServices.DispId(5)] [System.Runtime.InteropServices.TypeLibFunc(1024)] set; }
[<System.Runtime.InteropServices.DispId(5)>]
[<get: System.Runtime.InteropServices.DispId(5)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(1024)>]
[<set: System.Runtime.InteropServices.DispId(5)>]
[<set: System.Runtime.InteropServices.TypeLibFunc(1024)>]
member this.ElementType : EnvDTE.CodeTypeRef with get, set
Public Property ElementType As CodeTypeRef
属性值
CodeTypeRef 对象。
实现
- 属性
注解
ElementType 如果为,则返回此数组类型的元素的 TypeKind 类型 vsCMTypeRefArray 。 这可能 Nothing 适用于具有默认类型的语言。
备注
在进行了某些类型的编辑之后,代码模型元素(例如类、结构、函数、特性、委托等)的值可能变为非确定性的,这意味着不能确定它们的值始终保持不变。