Target property

Sets or returns the Folder Page where an item should be moved when the RouteTo method is called or a user clicks the associated Routing Button in the eRoom user interface.

Syntax


C++

HRESULT get_Target(IERUItem** ppTarget)

HRESULT put_Target(IERUItem* MyTarget)

Scripting languages

Set MyFolderPage = object.Target

object.Target = MyFolderPage

Remarks


When setting the target property:

  • Target must specify a Folder Page object.

  • If Target specifies any other item type, Target returns the error EROOM_E_INVALIDTYPE.

  • The target must be the same room as the routing source.

Home

Applies to

IERURoutingTarget