RuntimeOps.ExpandoTrySetValue Méthode

Définition

Attention

do not use this method

Définit la valeur d'un élément dans un objet expando.

Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.

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ètres

expando
ExpandoObject

Objet expando.

indexClass
Object

Classe de l'objet expando.

index
Int32

Index du membre.

value
Object

Valeur du membre.

name
String

Nom du membre.

ignoreCase
Boolean

True si la correspondance avec le nom doit ignorer la casse ; sinon, false.

Retours

Index pour le membre défini.

Attributs

S’applique à