ITargetObjectCol::get_Type

See Also

This method retrieves the type of the collection; that is, it returns the object identifier for the collection's definition object.

HRESULT get_Type( VARIANT *pColDefObjId );

Parameters

*pColDefObjId

[out]
The object identifier of the collection's definition object.

Return Value

S_OK

The method completed successfully.

Error

Values

This method failed to complete successfully.