RuntimeOps.ExpandoTryDeleteValue 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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
expando 对象。
- indexClass
- Object
expando 对象的类。
- index
- Int32
成员的索引。
- name
- String
成员名。
- ignoreCase
- Boolean
如果名称应匹配忽略大小写,则为 true;否则为 false。
返回
true 如果已成功删除该项,则为 ;否则,为 false.
- 属性