RuntimeOps.ExpandoTryGetValue Méthode

Définition

Attention

do not use this method

Obtient la valeur d'un élément dans un objet expando.

Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.

public:
 static bool ExpandoTryGetValue(System::Dynamic::ExpandoObject ^ expando, System::Object ^ indexClass, int index, System::String ^ name, bool ignoreCase, [Runtime::InteropServices::Out] System::Object ^ % value);
[System.Obsolete("do not use this method", true)]
public static bool ExpandoTryGetValue (System.Dynamic.ExpandoObject expando, object indexClass, int index, string name, bool ignoreCase, out object value);
[<System.Obsolete("do not use this method", true)>]
static member ExpandoTryGetValue : System.Dynamic.ExpandoObject * obj * int * string * bool * obj -> bool
Public Shared Function ExpandoTryGetValue (expando As ExpandoObject, indexClass As Object, index As Integer, name As String, ignoreCase As Boolean, ByRef value As Object) As Boolean

Paramètres

expando
ExpandoObject

Objet expando.

indexClass
Object

Classe de l'objet expando.

index
Int32

Index du membre.

name
String

Nom du membre.

ignoreCase
Boolean

True si la correspondance avec le nom doit ignorer la casse ; sinon, false.

value
Object

Paramètre de sortie contenant la valeur du membre.

Retours

true si le membre existe dans l’objet expando, sinon false.

Attributs

S’applique à