type Property (ISchemaElement)
[This feature was only implemented for MSXML 6.0.]
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.
JScript Syntax
var oType = oISchemaElement.type;
Parameters
None.
Return Values
oType
An object. The type of the element.
Example
The following snippet is taken from the Walk the SOM sample application. In this snippet, the type
property is retrieved from the ISchemaElement
object.
Set oType=oElement.type
Visual Basic Syntax
set oType = oISchemaElement.type
Parameters
None.
Return Values
oType
An object. The type of the element.
C/C++ 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.
Versioning
Implemented in: MSXML 6.0