baseTypes Property

 

[This feature was only implemented for MSXML 6.0.]

Returns an ISchemaItemCollection object that contains the base types of the type object being queried. The base types are in a schema item collection and are accessed by the ISchemaType interface.

JScript Syntax

var oBaseTypes = oISchemaType.baseTypes;  

Parameters

None.

Return Values

oBaseTypes
An object. The collection of base types of the type.

Example

The following snippet is taken from the Walk the SOM sample application. In this snippet, the baseTypes collection is retrieved from the ISchemaType object.

For Each oType in oSimple.baseTypes
            res = res + "<baseType name='" + printName(oType) +"'>"+vbNewline
        Next

Visual Basic Syntax

Set oBaseTypes = oISchemaType.baseTypes  

Parameters

None.

Return Values

oBaseTypes
An object. The collection of base types of the type.

C/C++ Syntax

HRESULT get_baseTypes(ISchemaItemCollection** baseTypes);  

Parameters

baseTypes[out,retval]
An object. The collection of base types of the type.

Return Values

S_OK
The value returned if successful.

E_POINTER
The value returned if the baseTypes object returned is NULL.

E_FAIL
The value returned if something else is wrong.

Versioning

Implemented in: MSXML 6.0

Applies to

ISchemaType Interface