Topics
Prev Next

SchemaType Class

Represents a type as it is defined in the schema.

Methods

Method

Description

See also

GetFacet(BSTR name)

Returns the value of the named facet. 'Root', for example' returns a value indicating whether a type is a root element.

GetRestriction(BSTR guid)

Returns the restriction as a string for the property having the supplied guid.

IsRoot()

True if class is marked as 'root' in the Composer.

Properties

Property

Description

See also

PropertyCount [type: long]

Returns the number of properties held by 'type'.

Properties [type: IEASchemaPropEnum]

Returns an enumerator for 'type's' properties.

TypeID

The model class ID.

Guid

The unique model GUID of the type.

Typename

The type's name.

Parent

The parent type if any that this class extends. May be null depending on composition method.