ResourceDictionary.Remove method

Applies to Windows and Windows Phone

Removes a specific item from the ResourceDictionary.

Syntax


public void Remove(
  object key
)

Parameters

key

Type: System.Object [.NET] | Platform::Object [C++]

The key of the item to remove.

Return value

For C# and Visual Basic, this method returns a Boolean value (the void as seen in Syntax is incorrect). Returns true if the item was removed, otherwise false.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Windows.winmd

See also

ResourceDictionary
Remove(TKey)
ResourceDictionary and XAML resource references

 

 

Show:
© 2014 Microsoft