Path property

Returns the full path to the specified item. The path of an item is defined as the concatenated names of the containers of the item, starting from the home page of the Room, followed by the item's name, delimited by forward slashes ("/"). The home page is represented by the leading "/" in the returned path. For example, if the home page contains a Folder Page named "Folder1", which contains a Folder Page named "Folder2", which contains a Note Page called "Note", the Note Page's path would be "/Folder1/Folder2/Note". If an item's name contains a forward slash character, it is "escaped" using a backward slash character. If an item's name contains a backward slash character, it also is "escaped" with an additionl backward slash. For example, if the Note in the previous example was called "/Note\", its path would be "/Folder1/Folder2/\/Note\\".

Note that the Path property for Database Rows and Calendar Events contain the ID of the item rather than its name. The reason for this is that Database Rows and Calendar Events may not have unique names. To retrieve the name of the item, use GetItemByPath().

Objects can be looked up by their path using the method GetItemByPath of the interface IERURoom.

Syntax


C++

HRESULT get_Path(BSTR* pPath)

Scripting languages

String = Object.Path

 

Home

Applies to

IERUPrincipalItem


See also

Files