Returns an integer that corresponds to a declared constant value of the SCHEMACONTENTTYPE enumeration. See XML SOM Enumerated Constants for the integer values.
The following table lists the four possible content types and their descriptions.
SCHEMACONTENTTYPE value | Description |
---|---|
SCHEMACONTENTTYPE_EMPTY | Type does not contain elements, text, or attributes. |
SCHEMACONTENTTYPE_TEXTONLY | Type contains only text. No elements or attributes. |
SCHEMACONTENTTYPE_ELEMENTONLY | Type contains only element declarations. |
SCHEMACONTENTTYPE_MIXED | Type contains elements, attributes, or text. |
var conContentType = oISchemaComplexType.contentType;
None.
contentType
of the complexType
.conContentType = oISchemaComplexType.contentType
None.
contentType
of the complexType
.HERESULT get_contentType (SCHEMACONTENTTYPE* contentType);
contentType
of the complexType
.To view reference information for Visual Basic or C/C++ only, click the Language Filter button in the upper-left corner of the page.
Applies to: ISchemaComplexType Interface