语言

PersonalizationDictionary.IDictionary.Remove(Object) 方法

定义

 virtual void System.Collections.IDictionary.Remove(System::Object ^ key) = System::Collections::IDictionary::Remove;
void IDictionary.Remove(object key);
abstract member System.Collections.IDictionary.Remove : obj -> unit
override this.System.Collections.IDictionary.Remove : obj -> unit
Sub Remove (key As Object) Implements IDictionary.Remove

参数

key
Object

一个 String 标识要从个性化设置字典中删除的特定 PersonalizationEntry 对象。

实现

例外

注解

该方法 Remove 检查对象是否 key 为 String 对象,如果是,则调用 PersonalizationDictionary 类自己的 Remove 方法,并将其传递给 key 该对象。

适用于

另请参阅