次の方法で共有


TBoundPointerProperty.Get (Compact 2013)

3/28/2014

This method returns the value of the property.

Syntax

PropertyType* Get(void)

Parameters

None

Return Value

Returns a PropertyType pointer to an object that represents the value of the property.

Remarks

The data type for PropertyType is defined in the PropertyType template parameter of the TBoundPointerProperty<PropertyType> class.

After you register the property with a property bag, an application can use TPropertyBag.GetValue(const WCHAR *,XRValue *) to obtain the property’s value.

Requirements

Header

XRPropertyBag.h

See Also

Reference

TBoundPointerProperty<PropertyType>
TBoundPointerProperty.Get(XRValue *)
TPropertyBag.GetValue(const WCHAR *,XRValue *)