VCCodeMacro.IsCodeType Propriété

Définition

Obtient une valeur indiquant si un objet CodeType peut être obtenu à partir de cet objet.

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

Valeur de propriété

Boolean

true si un objet CodeType peut être obtenu ; sinon, false.

Attributs

Remarques

IsCodeType retourne une valeur indiquant si l’élément de code est un type de code. Si c’est le cas, vous pouvez interroger l’interface (QI) ou la convertir en un CodeType objet. Cela est vrai quand Kind est EnvDTE.vsCMElement.vsCMElementClass , EnvDTE.vsCMElement.vsCMElementInterface , EnvDTE.vsCMElement.vsCMElementDelegate , EnvDTE.vsCMElement.vsCMElementStruct ou EnvDTE.vsCMElement.vsCMElementEnum .

S’applique à