RuntimeOps.ExpandoTrySetValue Metódus

Definíció

Figyelemfelhívás

do not use this method

Egy elem értékét állítja be egy expando objektumban.

Ez az API a termékinfrastruktúrát támogatja, és közvetlenül a kódból nem használható.

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

Paraméterek

expando
ExpandoObject

A expando objektum.

indexClass
Object

A expando objektum osztálya.

index
Int32

A tag indexe.

value
Object

A tag értéke.

name
String

A tag neve.

ignoreCase
Boolean

igaz, ha a névnek egyeznie kell a kis- és nagybetűk figyelmen kívül hagyásával; máskülönben hamis.

Válaszok

A beállított tag indexe.

Attribútumok

A következőre érvényes: