Share via


TPropertyBag.BeginRegisterProperties (Compact 7)

3/12/2014

This method ensures mutually exclusive access to data in the property bag before you start registering data source properties.

Syntax

HRESULT BeginRegisterProperties(void)

Parameters

None.

Return Value

Returns S_OK.

Remarks

This method internally calls EnterCriticalSection to block other threads and enable mutually exclusive access to the property bag while you register the properties with the property bag. Call BeginRegisterProperties before you call TPropertyBag.RegisterBoundProperty(const ce.wstring&,iXRPropertyBinding &).

Requirements

Header

XRPropertyBag.h

See Also

Reference

TPropertyBag<Derived>
TPropertyBag.EndRegisterProperties