Bewerken

Delen via


RuntimeOps.ExpandoTryDeleteValue Method

Definition

Caution

do not use this method

Deletes the value of an item in an expando object.

This API supports the product infrastructure and is not intended to be used directly from your 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

Parameters

expando
ExpandoObject

The expando object.

indexClass
Object

The class of the expando object.

index
Int32

The index of the member.

name
String

The name of the member.

ignoreCase
Boolean

true if the name should be matched ignoring case; false otherwise.

Returns

true if the item was successfully removed; otherwise, false.

Attributes

Applies to