contentModel Property

MSXML 5.0 SDK

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

contentModel Property

Returns an ISchemaModelGroup object. This object contains information about the content model of the complexType being queried. The ISchemaModelGroup interface is used to obtain further information about the object.

[Script]

Implementation Syntax

var oContentModel = oISchemaComplexType.contentModel;

Parameters

None.

Return Values

oContentModel
An object. The content model of the type.
[Visual Basic]

Implementation Syntax

Set oContentModel = oISchemaComplexType.contentModel

Parameters

None.

Return Values

oContentModel
An object. The content model of the type.
[C/C++]

Implementation Syntax

HERESULT get_contentModel (ISchemaModelGroup** contentModel);

Parameters

contentModel [out,retval]
An object. The content model of the type.

Return Values

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

See Also

ISchemaModelGroup Interface

Applies to: ISchemaComplexType Interface