length Property

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - SOM Reference

length Property

Returns a long integer. The number of items in the ISchemaItemCollection object. The index values for the collection start at "0" and go to the number that is the value of the length property minus 1.

[Script]

Implementation Syntax

var lngCount = oISchemaItemCollection.length

Parameters

None.

Return Values

lngCount
A long integer. The number of items in the schema item collection.
[Visual Basic]

Implementation Syntax

lngCount = oISchemaItemCollection.length

Parameters

None.

Return Values

lngCount
A long integer. The number of items in the schema item collection.
[C/C++]

Implementation Syntax

HRESULT get_length(long* length);

Parameters

length [out,retval]
A long integer. The number of items in the collection.

Return Values

S_OK
The value returned if successful.
E_POINTER
The value returned if the length parameter is NULL.

To view reference information for Visual Basic or C/C++ only, click the Language Filter button Language Filter in the upper-left corner of the page.

See Also

ISchemaItemCollection Item Method

Applies to: ISchemaItemCollection Interface