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);
*pColDefObjId
[out]
The object identifier of the collection's definition object.
S_OK
The method completed successfully.
This method failed to complete successfully.