IAttrCollection::Item

 
IAttr *Item(
             VARIANT vt // VT_BSTR, VT_I2, VT_I4, VT_UI4
);
 

Return Values

 
This method returns the IAtrr interface pointer from the AttrCollection.
 

Remarks

 
Searches for an Attr object based on the variant type passed in:
 
  • VT_BSTR - Find the Attr object by its name
  • VT_I2, VT_I4, VT_UI4 - Find the Attr object by its index or ID
 

Also See