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

ISchemaComplexType Interface

Provides access to basic type information and a DOM representation of the type object. You obtain an ISchemaComplexType object by using the scope property of the ISchemaAttribute interface, the scope property of the ISchemaElement interface or the types property of ISchema interface.

Properties

anyAttribute Retrieves the anyAttribute object, if one is declared.
attributes Retrieves the collection of attributes declared. This collection contains objects that implement the ISchemaAttribute interface.
contentModel Retrieves the content model of the complexType object being queried.
contentType Retrieves the content-type of the complexType object being queried.
isAbstract Returns true if the complexType object is abstract.
prohibitedSubstitution Retrieves the prohibited substitutions for complexType object being queried.

[Script]

Implementation Syntax

var oSchemaComplexType = oSchemaElement.scope;
[Visual Basic]

Implementation Syntax

Set oSchemaComplexType = oSchemaElement.scope
[C/C++]

Implementation Syntax

HERESULT types(ISchemaItemCollection** types);

Versioning

MSXML 4.0 and later

Requirements

[Visual Basic, C/C++]

Implementation: msxml5.dll, msxml2.lib

[C/C++]

Header and LIB files: msxml2.h, msxml2.lib, msxml2.idl

Inheritance: Inherits from the ISchemaType interface.

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

ISchemaAttribute scope Property | ISchemaElement scope Property | ISchema types Property | Defining Complex Types | Complex Type Definitions | SOM Reference