RuntimeOps.ExpandoTrySetValue Metod

Definition

Varning

do not use this method

Anger värdet för ett objekt i ett expando-objekt.

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

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

Parametrar

expando
ExpandoObject

Expando-objektet.

indexClass
Object

Klassen för expando-objektet.

index
Int32

Medlemmens index.

value
Object

Värdet för medlemmen.

name
String

Namnet på medlemmen.

ignoreCase
Boolean

sant om namnet ska matchas ignorera skiftläge; annars falskt.

Returer

Indexet för den angivna medlemmen.

Attribut

Gäller för