IObjectStateCollection::Add
IObjectState
*Add(
VARIAN
T vt
// VT_BSTR, VT_I2, VT_I4, VT_UI4
);
Return Values
This method returns the
IObjectState
interface for the IObjectCollection .
Remarks
Adds a Object 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
VARIANTÂ example