GetChildNames
Description
Returns the names of children workspace items (as short names or full pathnames). The itemType argument for this method is a WorkspaceItemType value that specifies the type of children to return. The child names can then be used with Workspace object methods.
Note: This method became available
in version 7.1.0.
Syntax
VBScript
folder.GetChildNames itemType, asFullPathname, name_option
Perl
$folder->GetChildNames(itemType, asFullPathname, name_option);
- Identifier
- Description
- folder
- A Folder object obtained from the current workspace.
- itemType
- A Long containing the workspace item type.
- asFullPathname
- A Bool that specifies whether or not to include full path names for the child items.
- name_option
- A Long that specifies the ExtendedNameOption child name form.
- Return value
- For Visual Basic, Returns a Variant containing an Array whose elements are strings. Each String contains the name of each child object. For Perl, a reference to an array of strings. Each String in the array contains the name of each child object.