DialogStateManager.Remove 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| Remove(KeyValuePair<String,Object>) |
移除对话状态管理器中特定对象的首次出现。 |
| Remove(String) |
从对话状态管理器中删除具有指定键的元素。 |
Remove(KeyValuePair<String,Object>)
移除对话状态管理器中特定对象的首次出现。
public bool Remove(System.Collections.Generic.KeyValuePair<string,object> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
Public Function Remove (item As KeyValuePair(Of String, Object)) As Boolean
参数
- item
- KeyValuePair<String,Object>
要从对话框状态管理器中移除的对象。
返回
true如果该项成功从对话框状态管理器中移除;否则,。 false
实现
注解
不支持此方法。
适用于
Remove(String)
从对话状态管理器中删除具有指定键的元素。
public bool Remove(string key);
abstract member Remove : string -> bool
override this.Remove : string -> bool
Public Function Remove (key As String) As Boolean
参数
- key
- String
要删除的元素的键。
返回
true 如果该元素成功被移除;否则,就是假的。
实现
注解
不支持此方法。