PropertyDictionary.TryGetPropertyValue Méthode

Définition

Détermine une valeur qui indique un bien à obtenir.

Surcharges

Nom Description
TryGetPropertyValue(String, Object)

Récupère une valeur qui indique une propriété à obtenir.

TryGetPropertyValue<T>(String, T)

Récupère une valeur qui indique une propriété à obtenir à l’aide d’une liste d’éléments.

TryGetPropertyValue(String, Object)

Récupère une valeur qui indique une propriété à obtenir.

public:
 virtual bool TryGetPropertyValue(System::String ^ name, [Runtime::InteropServices::Out] System::Object ^ % value);
public bool TryGetPropertyValue(string name, out object value);
abstract member TryGetPropertyValue : string * obj -> bool
override this.TryGetPropertyValue : string * obj -> bool
Public Function TryGetPropertyValue (name As String, ByRef value As Object) As Boolean

Paramètres

name
String

Une entrée de chaîne qui représente le nom de la propriété.

value
Object

Un objet de la propriété à obtenir.

Retours

true si une valeur indique une propriété à obtenir ; sinon, false.

Implémente

S’applique à

TryGetPropertyValue<T>(String, T)

Récupère une valeur qui indique une propriété à obtenir à l’aide d’une liste d’éléments.

public:
generic <typename T>
 virtual bool TryGetPropertyValue(System::String ^ name, [Runtime::InteropServices::Out] T % value);
public bool TryGetPropertyValue<T>(string name, out T value);
abstract member TryGetPropertyValue : string * 'T -> bool
override this.TryGetPropertyValue : string * 'T -> bool
Public Function TryGetPropertyValue(Of T) (name As String, ByRef value As T) As Boolean

Paramètres de type

T

Une valeur générique pour l’objet.

Paramètres

name
String

Une valeur de chaîne qui représente le nom de la propriété à obtenir.

value
T

Une valeur spécifiée pour l’article.

Retours

true si une valeur indique une propriété à obtenir en utilisant une liste d’éléments ; sinon, false.

Implémente

S’applique à