Share via


ResourceDictionary.Remove(String) Method

Definition

Removes the key-value pair identified by the specified key.

public:
 virtual bool Remove(System::String ^ key);
public bool Remove(string key);
abstract member Remove : string -> bool
override this.Remove : string -> bool
Public Function Remove (key As String) As Boolean

Parameters

key
String

The identifier of the item to remove.

Returns

true if the key existed and was removed; otherwise, false.

Implements

Applies to