DataViewHierarchyAccessor.GetObjectProperty(Int32, String) 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.
Récupère une propriété d’un objet de données associé au nœud correspondant à l’ID d’élément spécifié.
public:
System::Object ^ GetObjectProperty(int itemId, System::String ^ propertyName);
public object GetObjectProperty (int itemId, string propertyName);
member this.GetObjectProperty : int * string -> obj
Public Function GetObjectProperty (itemId As Integer, propertyName As String) As Object
Paramètres
- itemId
- Int32
ID d’élément du nœud pour lequel la propriété de l’objet doit être récupérée.
- propertyName
- String
Nom de la propriété à récupérer.
Retours
Retourne la valeur de la propriété de l’objet de données associé au nœud correspondant à l’ID d’élément spécifié.
Exceptions
Le paramètre propertyName est null.
L’itemId spécifié n’est pas valide.