RuntimeOps.ExpandoTryGetValue Methode

Definition

Achtung

do not use this method

Ruft den Wert eines Elements in einem Expando-Objekt ab.

Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.

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

Parameter

expando
ExpandoObject

Das Expando-Objekt.

indexClass
Object

Die Klasse des Expando-Objekts.

index
Int32

Der Index des Members.

name
String

Der Name des Members.

ignoreCase
Boolean

True, wenn der Vergleich des Namens ohne Berücksichtigung der Groß- und Kleinschreibung erfolgen soll, andernfalls false.

value
Object

Der out-Parameter, der den Wert des Members enthält.

Gibt zurück

true, wenn der Member im Expando-Objekt vorhanden ist, andernfalls false.

Attribute

Gilt für: