VCCodeFunction.IsCodeType Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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é
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 .