다음을 통해 공유


ResourceDictionary.Remove(String) Method

Definition

Removes the key and value identified by key from the ResourceDictionary.

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 key-value pair to be removed.

Returns

true if the key existed and the removal was successful.

Implements

Applies to