Parent property
Returns an IERUItem interface pointer for a specified item's parent.
Syntax
C++
HRESULT
get_Parent(IERUItem** ppParent)
Scripting languages
Set
parent = Object.Parent
Remarks
The return value for the Parent property is the containing item. The
following table lists all eRoom items and their parents:
|
Item |
Parent |
|
Ballot |
Poll or Poll Page |
|
Comment |
Topic |
|
Discussion Page |
Folder Page, Note Page, Topic Page,
Poll Page, Database Row Page, Calendar Event Page, or Inbox Page |
|
File |
Version Page, Folder Page, Note
Page, Topic Page, Poll Page, Database Row Page, Calendar Event Page, or
Inbox Page |
|
Folder Page |
Folder Page, Note Page, Topic Page,
Poll Page, Database Row Page, Calendar Event Page, or Inbox Page |
|
Inbox Page |
Folder Page, Note Page, Topic Page,
Poll Page, Database Row Page, Calendar Event Page, or Inbox Page |
|
Link |
Folder Page, Note Page, Topic Page,
Poll Page, Database Row Page, Calendar Event Page, or Inbox Page |
|
Mail Page |
Folder Page, Note Page, Topic Page,
Poll Page, Database Row Page, Calendar Event Page, or Inbox Page |
|
Note Page |
Folder Page, Note Page, Topic Page,
Poll Page, Database Row Page, Calendar Event Page, or Inbox Page |
|
Poll |
Topic |
|
Poll Page |
Folder Page, Note Page, Topic Page,
Poll Page, Database Row Page, Calendar Event Page, or Inbox Page |
|
List Page |
Folder Page, Note Page, Topic Page,
Poll Page, Database Row Page, Calendar Event Page, or Inbox Page |
|
Database Row |
Database Page |
|
Calendar Event |
Calendar Page |
|
Topic Page |
Discussion Page |
|
Version Page |
File (current version) |
|
Vote |
Ballot |
The home page of an eRoom has no parent and, therefore, the Parent property
returns NULL (C++) or Nothing (scripting languages) if the item is an
eRoom's home page. |
Home
Applies to
IERUItem
IERUSEvent_AddFile_Before
IERUSEvent_ReplaceFile_Before
IERUSEvent_Item
See also
IERUContainer |