IAttrCollection::Remove

 
HRESULT Remove(
                VARIANT val // VT_BSTR, VT_I2, VT_I4, VT_UI4
);
 
 

Return Values

 
This method returns the HRESULT.
 

Remarks

 
Deletes the a Attr based on the VARRIANT type passed in:
 
  • VT_BSTR - Delete the Attr object by its name.
  • VT_I2, VT_I4, VT_UI4 - Delete the Attr object by its index or ID.
 

Also See