FlavoredProject.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.
Obtient la valeur d'une propriété pour un nœud donné.
protected:
virtual int GetProperty(System::UInt32 itemId, int propId, [Runtime::InteropServices::Out] System::Object ^ % property);
virtual int GetProperty(unsigned int itemId, int propId, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & property);
protected virtual int GetProperty (uint itemId, int propId, out object property);
abstract member GetProperty : uint32 * int * obj -> int
override this.GetProperty : uint32 * int * obj -> int
Protected Overridable Function GetProperty (itemId As UInteger, propId As Integer, ByRef property As Object) As Integer
Paramètres
- itemId
- UInt32
ID d'élément du nœud.
- propId
- Int32
ID de la propriété demandée.
- property
- Object
[out] Valeur de la propriété.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Cette méthode appelle GetProperty sur le projet interne.