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