RuntimeOps.ExpandoTryDeleteValue Metoda

Definicja

Przestroga

do not use this method

Usuwa 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 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

Parametry

expando
ExpandoObject

Obiekt expando.

indexClass
Object

Klasa obiektu expando.

index
Int32

Indeks członka.

name
String

Nazwa elementu członkowskiego.

ignoreCase
Boolean

wartość true, jeśli nazwa powinna być do siebie dopasowana, ignorując literę; w przeciwnym razie wartość false.

Zwraca

Boolean

true jeśli element został pomyślnie usunięty; w przeciwnym false razie .

Atrybuty

Dotyczy