INetCollection::Add
INet
*Add(
VARIAN
T vt
// VT_BSTR, VT_I2, VT_I4, VT_UI4
);
Return Values
This method returns an
INet
pointer from the INetCollection .
Remarks
Adds for a Net object based on the variant type passed in:
VT_BSTR
- Find the Net by its name
VT_I2, VT_I4, VT_UI4
- Find the Net by its index or ID
Also See
VARIANTÂ example