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. |
Implementation Syntax
var oSchemaComplexType = oSchemaElement.scope;
Implementation Syntax
Set oSchemaComplexType = oSchemaElement.scope
Implementation Syntax
HERESULT types(ISchemaItemCollection** types);
Versioning
MSXML 4.0 and later
Requirements
Implementation: msxml5.dll, msxml2.lib
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 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