Share via


TPropertyBag.GetPropertyName(iXRPropertyBinding *) (Compact 7)

3/12/2014

This method returns the name of the property that is represented by the specified iXRPropertyBinding object.

Syntax

const WCHAR* STDMETHODCALLTYPE GetPropertyName(
iXRPropertyBinding * pBinder)

Parameters

Return Value

Returns a text string that contains the property’s name.

Remarks

You can bind property data to a UI element either by calling IXRFrameworkElement::SetBinding or by using a Binding Markup Extension in Microsoft Silverlight 3 XAML.

The iXRPropertyBinding object that you provide in pBinder must be registered. For more information, see TPropertyBag.RegisterBoundProperty(const ce.wstring&,iXRPropertyBinding &).

Requirements

Header

XRPropertyBag.h

See Also

Reference

TPropertyBag<Derived>