次の方法で共有


IXRResourceDictionary::Remove (Windows Embedded CE 6.0)

1/6/2010

This method removes a specific item from the resource dictionary.

Syntax

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

Parameters

  • pKey
    [in] A 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 first 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
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRResourceDictionary