whitespace Property
Returns an integer that indicates a value from the SCHEMAWHITESPACE enumerated list. For more information about the whitespace
facet, see Data Type Facets.
The following table shows the SCHEMAWHITESPACE enumerated list.
Enumerated value | Integer value |
---|---|
SCHEMAWHITESPACE_NONE | -1 |
SCHEMAWHITESPACE_PRESERVE | 0 |
SCHEMAWHITESPACE_REPLACE | 1 |
SCHEMAWHITESPACE_COLLAPSE | 2 |
[Script]
Implementation Syntax
var intWhitespace = oISchemaType.whitespace;
Parameters
None.
Return Values
- intWhitespace
- An integer. The
whitespace
facet of the restriction.
[Visual Basic]
Implementation Syntax
intWhitespace = oISchemaType.whitespace
Parameters
None.
Return Values
- intWhitespace
- An integer. The
whitespace
facet of the restriction.
[C/C++]
Implementation Syntax
HRESULT get_whitespace(SCHEMAWHITESPACE* whitespace);
Parameters
- whitespace [out,retval]
- An integer. The
whitespace
facet string.
Return Values
- S_OK
- The value returned if successful.
- E_POINTER
- The value returned if the
whitespace
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 in the upper-left corner of the page.
Note If the facet is not used, the property will return "SCHEMAWHITESPACE_NONE".
See Also
Data Type Facets | Parts of Data Types
Applies to: ISchemaType Interface