INetSegmentCollection::Item

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