ISchemaComplexType Interface

 

[This feature was only implemented for MSXML 6.0.]

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.

JScript Syntax

var oSchemaComplexType = oSchemaElement.scope;  

Visual Basic Syntax

Set oSchemaComplexType = oSchemaElement.scope  

C/C++ Syntax

HERESULT types(ISchemaItemCollection** types);  

Requirements

Implementation: msxml6.dll, msxml6.lib

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

Inheritance: Inherits from the ISchemaType interface.

Versioning

Implemented in: MSXML 6.0

See Also

scope Property
scope Property (ISchemaElement)
types Property
Defining Complex Types
Complex Type Definitions
SOM Reference