IComNativeDescriptorHandler.GetPropertyValue 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 de la propriété spécifiée.
Surcharges
| Nom | Description |
|---|---|
| GetPropertyValue(Object, Int32, Boolean) |
Obtient la valeur de la propriété qui a l’identificateur de répartition spécifié. |
| GetPropertyValue(Object, String, Boolean) |
Obtient la valeur de la propriété qui a le nom spécifié. |
GetPropertyValue(Object, Int32, Boolean)
Obtient la valeur de la propriété qui a l’identificateur de répartition spécifié.
public:
System::Object ^ GetPropertyValue(System::Object ^ component, int dispid, bool % success);
public object GetPropertyValue(object component, int dispid, ref bool success);
abstract member GetPropertyValue : obj * int * bool -> obj
Public Function GetPropertyValue (component As Object, dispid As Integer, ByRef success As Boolean) As Object
Paramètres
- component
- Object
Objet auquel appartient la propriété.
- dispid
- Int32
Identificateur de répartition.
Retours
Valeur de la propriété qui a l’identificateur de répartition spécifié.
Remarques
Note
Cette API est désormais obsolète. L’alternative non obsolète est ComObjectType.
S’applique à
GetPropertyValue(Object, String, Boolean)
Obtient la valeur de la propriété qui a le nom spécifié.
public:
System::Object ^ GetPropertyValue(System::Object ^ component, System::String ^ propertyName, bool % success);
public object GetPropertyValue(object component, string propertyName, ref bool success);
abstract member GetPropertyValue : obj * string * bool -> obj
Public Function GetPropertyValue (component As Object, propertyName As String, ByRef success As Boolean) As Object
Paramètres
- component
- Object
Objet auquel appartient la propriété.
- propertyName
- String
Nom de la propriété.
Retours
Valeur de la propriété qui a le nom spécifié.
Remarques
Note
Cette API est désormais obsolète. L’alternative non obsolète est ComObjectType.