IBehaviorCauseCollection::Remove

HRESULT Remove(
                VARIANT val    // VT_BSTR, VT_I2, VT_I4, VT_UI4
);
 
Return Values
This method returns the HRESULT.
Remarks
Deletes a BehaviorCauseCollection based on the variant type passed in:
  • VT_BSTR - Find the BehaviorCauseCollection by its name
  • VT_I2, VT_I4, VT_UI4 - Find the BehaviorCauseCollection by its index or ID
Also See