Compartilhar via


length Property (ISchemaItemCollection)

 

[This feature was only implemented for MSXML 6.0.]

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.

JScript Syntax

var lngCount = oISchemaItemCollection.length  

Parameters

None.

Return Values

lngCount
A long integer. The number of items in the schema item collection.

Visual Basic Syntax

lngCount = oISchemaItemCollection.length  

Parameters

None.

Return Values

lngCount
A long integer. The number of items in the schema item collection.

C/C++ 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.

Versioning

Implemented in: MSXML 6.0

Applies to

ISchemaItemCollection Interface

See Also

item Property (ISchemaItemCollection)