ITestColledtion::Item

 
ITestSet *Item(
                VARIANT vt     // VT_BSTR, VT_I2, VT_I4, VT_UI4
);
Return Values
This method returns the ITestSet interface pointer from this TestSetCollection.
Remarks
Searches for a TestSet based on the VARIANT type passed in:
  • VT_BSTR - Find the TestSet by its name
  • VT_I2, VT_I4, VT_UI4 - Find the TestSet by its index or ID
Also See