RuntimeOps.ExpandoTryDeleteValue Méthode

Définition

Attention

do not use this method

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

Paramètres

expando
ExpandoObject

Objet expando.

indexClass
Object

Classe de l'objet expando.

index
Int32

Index du membre.

name
String

Nom du membre.

ignoreCase
Boolean

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

Retours

true si l’élément a été correctement supprimé ; sinon, false.

Attributs

S’applique à