IVsSimpleObjectList2.GetProperty(UInt32, Int32, Object) Méthode
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.
Retourne la propriété spécifiée pour l'élément de liste spécifié.
public:
int GetProperty(System::UInt32 index, int propid, [Runtime::InteropServices::Out] System::Object ^ % pvar);
int GetProperty(unsigned int index, int propid, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & pvar);
public int GetProperty (uint index, int propid, out object pvar);
abstract member GetProperty : uint32 * int * obj -> int
Public Function GetProperty (index As UInteger, propid As Integer, ByRef pvar As Object) As Integer
Paramètres
- index
- UInt32
[in] Index de l'élément pour lequel obtenir une propriété.
- propid
- Int32
[in] Valeur de l'énumération _VSOBJLISTELEMPROPID spécifiant la propriété à obtenir.
- pvar
- Object
[out] Retourne un objet VARIANT contenant la valeur demandée.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Signature COM
À partir de vsshell80. idl :
HRESULT IVsSimpleObjectList2::GetProperty(
[in] ULONG Index,
[in] VSOBJLISTELEMPROPID propid,
[out] VARIANT *pvar
);