Partager via


DataViewHierarchyAccessor.GetProperty, méthode

Extrait une propriété de la hiérarchie.

Espace de noms :  Microsoft.VisualStudio.Data
Assembly :  Microsoft.VisualStudio.Data (dans Microsoft.VisualStudio.Data.dll)

Syntaxe

'Déclaration
Public Function GetProperty ( _
    itemId As Integer, _
    propertyId As Integer _
) As Object
public Object GetProperty(
    int itemId,
    int propertyId
)
public:
Object^ GetProperty(
    int itemId, 
    int propertyId
)
member GetProperty : 
        itemId:int * 
        propertyId:int -> Object
public function GetProperty(
    itemId : int, 
    propertyId : int
) : Object

Paramètres

  • itemId
    Type : Int32

    Un ID d'élément

  • propertyId
    Type : Int32

    Un ID de la propriété de l'énumération d' __VSHPROPID .

Valeur de retour

Type : Object
Retourne la valeur de la propriété spécifiée de la hiérarchie.

Sécurité .NET Framework

Voir aussi

Référence

DataViewHierarchyAccessor Classe

Microsoft.VisualStudio.Data, espace de noms