RuntimeOps.ExpandoTryDeleteValue 方法

定義

警告

do not use this method

刪除 expando 物件中項目的值。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

expando
ExpandoObject

擴展物件。

indexClass
Object

擴展物件的類別。

index
Int32

成員的索引。

name
String

成員的名稱。

ignoreCase
Boolean

若忽略格,則為真;否則就是錯誤的。

傳回

true若物品成功移除;否則,。 false

屬性

適用於