Share via


IXRFrameworkElement::GetTag (Windows Embedded CE 6.0)

1/6/2010

This method retrieves an arbitrary string value that you can use to store custom information about this framework element.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetTag(
    BSTR* pTag
) = 0;

Parameters

  • pTag
    [out] Pointer to a string that contains the intended value.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The value in pTag resembles Tag properties in other programming models. Tag is intended to provide a pre-existing property location where you can store some basic custom information about an IXRFrameworkElement object without requiring you to create a subclass from IXRFrameworkElement or a derived class.

.NET Framework Equivalent

System.Windows.FrameworkElement.Tag

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRFrameworkElement