minLength Property

MSXML 5.0 SDK

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

minLength Property

Returns a variant of type VT_BSTR. This variant indicates the minimum number of units in the lexical space of this type. For more information about the minLength facet, see Data Type Facets.

[Script]

Implementation Syntax

var varMinLength = oISchemaType.minLength;

Parameters

None.

Return Values

varMinLength
A variant. The value of the minLength facet of the restriction.
[Visual Basic]

Implementation Syntax

varMinLength = oISchemaType.minLength

Parameters

None.

Return Values

varMinLength
A variant. The value of the minLength facet of the restriction.
[C/C++]

Implementation Syntax

HRESULT get_minLength (VARIANT* minLength);

Parameters

minLength [out,retval]
A variant. The value of the minLength facet.

Return Values

S_OK
The value returned if successful.
E_POINTER
The value returned if the minLength parameter is NULL.
E_FAIL
The value returned if something else is wrong.

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.

Note   If the facet is not used, the property will return "-1".

See Also

Data Type Facets | Parts of Data Types

Applies to: ISchemaType Interface