ResourceDictionary.Remove(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the key and value identified by key
from the ResourceDictionary.
public bool Remove (string key);
abstract member Remove : string -> bool
override this.Remove : string -> bool
Parameters
- key
- System.String
The identifier of the key-value pair to be removed.
Returns
System.Boolean
true
if the key existed and the removal was successful.
Implements
System.Collections.Generic.IDictionary`2.Remove(`0)