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 Elements.

name
String

Der Name des Mitglieds.

ignoreCase
Boolean

true, wenn der Name mit der Groß-/Kleinschreibung abgeglichen werden soll; andernfalls "false".

value
Object

Der Ausgabeparameter, der den Wert des Elements enthält.

Gibt zurück

true wenn das Element im expando-Objekt vorhanden ist, andernfalls false.

Attribute

Gilt für: