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

length Property

Returns the length of the prefixes collection. The collection starts at 0.

[Script]

Script Syntax

var intLength = objNSPrefixes.length
[Visual Basic]

Visual Basic Syntax

intLength = objNSPrefixes.length
[C/C++]

C/C++ Syntax

HRESULT get_length( 
    long* length);

Parameters

length[out,retval]
The number of items in the prefix collection. The collection starts at 0.

C/C++ Return Values

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

Remarks

Read-only.

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

See Also

item Property

Applies to: IMXNamespacePrefixes