maxInclusive Property

 

[This feature was only implemented for MSXML 6.0.]

Returns a string that indicates the maximum number of times the type can be used in a document. For more information about the maxInclusive facet, see Data Type Facets.

JScript Syntax

var strMaxInclusive = oISchemaType.maxInclusive;  

Parameters

None.

Return Values

strMaxInclusive
A string. The maxInclusive facet of the restriction.

Example

The following snippet is taken from the Walk the SOM sample application. In this snippet, the maxInclusivepropertyis retrieved from the ISchemaType object.

If oType.maxInclusive <> "" Then
        res = res + printTab(t+1) + "<xsd:maxInclusive value='"+ oType.maxInclusive + "'/>" + vbNewLine
    End If

Visual Basic Syntax

strMaxInclusive = oISchemaType.maxInclusive  

Parameters

None.

Return Values

strMaxInclusive
A string. The maxInclusive facet of the restriction.

C/C++ Syntax

HRESULT get_maxInclusive (BSTR* maxInclusive);  

Parameters

maxInclusive[out,retval]
A string. The maxInclusive facet string.

Return Values

S_OK
The value returned if successful.

E_POINTER
The value returned if the maxInclusive parameter is NULL.

E_FAIL
The value returned if something else is wrong.

Note

If the facet is not used, the property will return a NULL string.

Applies to

ISchemaType Interface

See Also

Data Type Facets
Parts of Data Types