ResourceDictionary.Remove method

Removes a specific item from the ResourceDictionary.

Syntax


public bool Remove(
  object key
)

Parameters

key

Type: System.Object

The key of the item to remove.

Return value

Type: System.Boolean

true if the item was removed, otherwise, false.

Remarks

Note  The equivalent Visual C++ component extensions (C++/CX) API is Remove. The C++/CX Remove signature doesn't have a return value to indicate success.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml

See also

ResourceDictionary
Remove

 

 

Show:
© 2014 Microsoft