Parent Property
Returns the Parent object for the specified object. Read-only.
Example
This example displays the name of the parent object for a document property. You must pass a valid DocumentProperty object to the procedure.
Sub DisplayParent(dp as DocumentProperty)
MsgBox dp.Parent.Name
End Sub
Applies to | AnswerWizard Object | AnswerWizardFiles Collection Object | Assistant Object | Balloon Object | BalloonCheckBox Object | BalloonCheckBoxes Collection Object | BalloonLabel Object | BalloonLabels Collection Object | COMAddIn Object | COMAddIns Collection Object | CommandBar Object | CommandBarButton Object | CommandBarComboBox Object | CommandBarControl Object | CommandBarControls Collection Object | CommandBarPopup Object | CommandBars Collection Object | DocumentLibraryVersion Object | DocumentLibraryVersions Collection | DocumentProperties Collection Object | DocumentProperty Object | FileDialog Object | FileDialogFilter Object | FileDialogFilters Collection | FileDialogSelectedItems Collection | HTMLProject Object | HTMLProjectItem Object | HTMLProjectItems Collection | LanguageSettings Object | MsoEnvelope Object | ODSOColumn Object | ODSOColumns Object | ODSOFilter Object | ODSOFilters Object | Permission Object | Script Object | Scripts Collection Object | SharedWorkspace Object | SharedWorkspaceFile Object | SharedWorkspaceFiles Collection | SharedWorkspaceFolder Object | SharedWorkspaceFolders Collection | SharedWorkspaceLink Object | SharedWorkspaceLinks Collection | SharedWorkspaceMember Object | SharedWorkspaceMembers Collection | SharedWorkspaceTask Object | SharedWorkspaceTasks Collection | Signature Object | SignatureSet Collection | Sync Object | UserPermission Object