次の方法で共有


IXRResourceDictionary::Remove (Compact 2013)

3/28/2014

This method removes a specific item from the resource dictionary.

Syntax

virtual HRESULT STDMETHODCALLTYPE Remove(
    __in const WCHAR* pKey
) = 0;

Parameters

  • pKey
    [in] String that contains the key name of the item to remove.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

Generally, Remove deletes the last occurrence of an item. Because this is a keyed dictionary, each item is identified uniquely by key, so there is always just one occurrence of an item.

.NET Framework Equivalent

System.Windows.ResourceDictionary.Remove

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRResourceDictionary