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.
var oContentModel = oISchemaComplexType.contentModel;
None.
The following snippet is taken from the Walk the SOM sample application. In this snippet, the contentModel object is retrieved from the ISchemaComplexType object and passed to the processGroup function. The processGroup function examines several elements of the contentModel object. To see the snippet in the application code, click here.
If oComplex.contentType =SCHEMACONTENTTYPE_ELEMENTONLY Then
res = res + printRemark("elementonly ")
res = res + processGroup(oComplex.contentModel, t+1)
End If
Set oContentModel = oISchemaComplexType.contentModel
None.
HERESULT get_contentModel (ISchemaModelGroup** contentModel);
contentModel object is NULL.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
| This HTML Help has been published using the chm2web software. |