VCCodeStruct.IsCodeType 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个值,该值指示是否可以从此对象中获取 CodeType 对象。
public:
property bool IsCodeType { bool get(); };
public:
property bool IsCodeType { bool get(); };
[System.Runtime.InteropServices.DispId(6)]
public bool IsCodeType { [System.Runtime.InteropServices.DispId(6)] [System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)] get; }
[<System.Runtime.InteropServices.DispId(6)>]
[<get: System.Runtime.InteropServices.DispId(6)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)>]
member this.IsCodeType : bool
Public ReadOnly Property IsCodeType As Boolean
属性值
如果可以获取 CodeType 对象,则为 true;否则为 false。
- 属性
注解
IsCodeType 返回代码元素是否为代码类型。 如果是,则可以查询接口 (QI) 或将其转换为 CodeType 对象。 当为、、、或时,此值为 true Kind EnvDTE.vsCMElement.vsCMElementClass EnvDTE.vsCMElement.vsCMElementInterface EnvDTE.vsCMElement.vsCMElementDelegate EnvDTE.vsCMElement.vsCMElementStruct EnvDTE.vsCMElement.vsCMElementEnum 。