ResourceDictionary.Remove method

[This documentation is preliminary and is subject to change.]

Removes a specific item from the ResourceDictionary.

Syntax

public bool Remove(
  object key
)
Public Function Remove(
  key As Object 
) As Boolean

Parameters

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