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