Room property

For IERUCustomContext: returns the eRoom that is the target of the command.

For IERUItem and IERUSEvent_Item: returns the IERURoom interface pointer to the eRoom that contains the item.
For IERUCustomRole: returns the eRoom associated with the custom role.
For IERUSEvent_Room, returns the eRoom in which the event occurred.

Note that attempting to access the Room property for an Add Room Before, an Import Room Before, or a Delete Room After synchronous event throws an EROOM_E_INVALIDOPERATION error.

Syntax


C++

HRESULT get_Room(IERURoom** ppRoom)

Scripting languages

Set Room = Object.Room

Home

Applies to

IERUCustomContext

IERUItem

IERUCustomRole

IERUSEvent_Item

IERUSEvent_Room

IERUSEvent_RoomMembershipChange


See also

Creating Items