Returns a string that provides the value of an item. The location of the item is specified in the index location, which is sent to the item
method in the index
parameter. The item can be an enumeration, a schema URI, a namespace, or a field, depending on the method and interface used. You can use this method to walk through a collection and examine properties for each item. To walk through the collection, increment the index from 0 to one less than the number returned from the length property.
var strString = oISchemaItemCollection.item(lngIndex);
strString = oISchemaItemCollection.item(lngIndex)
HRESULT get_item( [in] long index, [out,retval] BSTR* bstr);
item
parameter is NULL.To view reference information for Visual Basic or C/C++ only, click the Language Filter button in the upper-left corner of the page.
ISchemaStringCollection length Property
Applies to: ISchemaStringCollection Interface