PersonalizationDictionary.IDictionary.Remove(Object) 方法
定义
实现 Remove(Object) 类的 PersonalizationDictionary 方法。Implements the Remove(Object) method for the PersonalizationDictionary class.
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 对象。A String that identifies a particular PersonalizationEntry object to remove from the personalization dictionary.
实现
例外
注解
Remove方法检查是否 key 为 String 对象,如果是,它将调用 PersonalizationDictionary 类自身的 Remove 方法,并 key 将其传递给它。The Remove method checks whether key is a String object, and if so, it calls the PersonalizationDictionary class's own Remove method, passing key to it.