Compartir a través de


XRObject.Release (Compact 2013)

3/28/2014

This method releases a reference to the XRObject<Base> object.

Syntax

ULONG Release(void)

Parameters

None.

Return Value

Returns the decremented reference count.

Remarks

When the released pointer is the only existing reference to the object, then after the count is decremented, the decremented count value will be 0. When the value is 0, this method also deletes the object.

This method implements functionality that resembles IUnknown::Release.

Requirements

Header

XRUnknown.h

See Also

Reference

XRObject<Base>