IVCDPropertyItems::findElement Method

Searches the collection for a IVCDPropertyElement with a given combination of item and element id.
Syntax:
smart_com<IVCDPropertyElement> findElement( const GUID& itemID, const wchar_t* pElementName ) const;
smart_com<IVCDPropertyElement> findElement( const GUID& itemID, const GUID& elementID ) const;

Parameter Description
itemID

Specifies the ItemID for which to search.

elementID

Specifies the elementID of the element that the item should contain.

pElementName

Specifies the name of the element that the itme should contain.

Return value:

If the collection contains an item with an element matching the given element path, the findElement method returns a pointer to the IVCDPropertyElement. If the element is not found, 0 is returned.

See also: IVCDPropertyItems, IVCDPropertyItem, IVCDPropertyElement, Standard Property Item GUIDs, Standard Element GUIDs

<< IVCDPropertyItems