ITestStateCollection::Item

 
long Item(
          VARIANT vt   // VT_BSTR, VT_I2, VT_I4, VT_UI4
);
Return Values
This method returns an TestState interface from the ITestStateCollection .
Remarks
Searches for a TestState based on the VARIANT type passed in:
  • VT_BSTR -By its name
  • VT_I2, VT_I4, VT_UI4 - By its index or ID
Also See