Udostępnij przez


RuntimeOps.ExpandoTrySetValue Metoda

Definicja

Przestroga

do not use this method

Ustawia wartość elementu w obiekcie expando.

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

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

Parametry

expando
ExpandoObject

Obiekt expando.

indexClass
Object

Klasa obiektu expando.

index
Int32

Indeks elementu członkowskiego.

value
Object

Wartość elementu członkowskiego.

name
String

Nazwa elementu członkowskiego.

ignoreCase
Boolean

prawda, jeśli nazwa powinna być zgodna z przypadkiem ignorowania; false w przeciwnym razie.

Zwraca

Indeks dla ustawionego elementu członkowskiego.

Atrybuty

Dotyczy