Share via


WPDObject.GetChildrenByFormat method

The GetChildrenByFormat method returns a collection of the immediate children of this WPDObject filtered by one or more object formats.

Syntax

retVal = WPDObject.GetChildrenByFormat(
  FormatList
)

Parameters

FormatList

A VARIANT that can be a string containing the name of one format, or an array of strings containing several formats. An individual format name can be a WPD-defined format, a service-defined format, or a string representation of a format GUID, such as "{aaaaaaaa-bbbb-cccc-dddd-eeeeeeffffff}".

Return value

Returns a childrenCollection that contains all of the immediate children of this WPDObject that have been formatted with one of the object formats in the format list.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]

See also

childrenCollection Object

WPDObject