Share via


TBoundPropertyBase.SetOwner(iXRPropertyBagBinding *) (Compact 7)

3/12/2014

This method specifies the TPropertyBag<Derived> property bag that owns the property.

Syntax

void STDMETHODCALLTYPE SetOwner(
iXRPropertyBagBinding * pBag)

Parameters

  • pBag
    [in] Pointer to an object, derived from iXRPropertyBagBinding, that represents the property bag that owns the property.

Return Value

None.

Remarks

The TPropertyBag.RegisterBoundProperty(const ce.wstring&,iXRPropertyBinding &) method internally calls the SetOwner method to register a property with a TPropertyBag<Derived> data-source object.

Requirements

Header

XRPropertyBag.h

See Also

Reference

TBoundPropertyBase<PropertyType,StoreType>
TPropertyBag<Derived>
TPropertyBag.RegisterBoundProperty(const ce.wstring&,iXRPropertyBinding &)