CodeTypeRef2.ElementType 属性

定义

获取或设置表示编程类型的对象。

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

CodeTypeRef 对象。

实现

属性

注解

ElementType 如果为,则返回此数组类型的元素的 TypeKind 类型 vsCMTypeRefArray 。 这可能 Nothing 适用于具有默认类型的语言。

备注

在进行了某些类型的编辑之后,代码模型元素(例如类、结构、函数、特性、委托等)的值可能变为非确定性的,这意味着不能确定它们的值始终保持不变。

适用于