次の方法で共有


minInclusive Property

 

[This feature was only implemented for MSXML 6.0.]

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

JScript Syntax

var strMinInclusive = oISchemaType.minInclusive;  

Parameters

None.

Return Values

strMinInclusive
A string. The minInclusive facet of the restriction.

Example

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

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

Visual Basic Syntax

Set strMinInclusive = oISchemaType.minInclusive  

Parameters

None.

Return Values

strMinInclusive
A string. The minInclusive facet of the restriction.

C/C++ Syntax

HRESULT get_minInclusive (BSTR* minInclusive);  

Parameters

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

Return Values

S_OK
The value returned if successful.

E_POINTER
The value returned if the minInclusive 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.

Versioning

Implemented in: MSXML 6.0

Applies to

ISchemaType Interface

See Also

Data Type Facets
Parts of Data Types