type Property

MSXML 5.0 SDK

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

type Property

Returns an ISchemaType object. This object contains type information about the element item being queried. You obtain further information about the type object of the element by using the ISchemaType interface.

[Script]

Implementation Syntax

var oType = oISchemaElement.type;

Parameters

None.

Return Values

oType
An object. The type of the element.
[Visual Basic]

Implementation Syntax

set oType = oISchemaElement.type

Parameters

None.

Return Values

oType
An object. The type of the element.
[C/C++]

Implementation Syntax

HRESULT get_type(ISchemaType** type);

Parameters

type [out,retval]
An object. A simple type definition or a complex type definition of the element.

Return Values

S_OK
The value returned if successful.
E_POINTER
The value returned if the type parameter is NULL.
E_FAIL
The value returned if something else is wrong.

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

ISchemaType Interface

Applies to: ISchemaElement Interface