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

totalDigits Property

Returns a variant of type VT_BSTR. This variant indicates the maximum number of in a value. This total includes the digits in the fraction portion of the value. For more information about the totalDigits facet, see Data Type Facets.

[Script]

Implementation Syntax

var varTotalDigits = oISchemaType.totalDigits;

Parameters

None.

Return Values

varTotalDigits
A variant. The totalDigits facet of the restriction.
[Visual Basic]

Implementation Syntax

varTotalDigits = oISchemaType.totalDigits

Parameters

None.

Return Values

varTotalDigits
A variant. The totalDigits facet of the restriction.
[C/C++]

Implementation Syntax

HRESULT get_totalDigits (VARIANT* totalDigits);

Parameters

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

Return Values

S_OK
The value returned if successful.
E_POINTER
The value returned if the totalDigits 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