derivedBy Property

 

[This feature was only implemented for MSXML 6.0.]

Returns a SCHEMADERIVATIONMEHOD constant. This constant indicates how the type definition was derived.

JScript Syntax

var conDerivedBy = objISchemaType.derivedBy;  

Parameters

None.

Return Values

conDerivedBy
For simple types, the derivedBy value can be one of the following:

SCHEMADERIVATIONMETHOD_RESTRICTION

SCHEMADERIVATIONMETHOD_LIST

SCHEMADERIVATIONMETHOD_UNION

For complex types, the derivedBy value can be one of the following:

SCHEMADERIVATIONMETHOD_EXTENSION

SCHEMADERIVATIONMETHOD_RESTRICTION

For any-type the derivedBy value is always as follows:

SCHEMADERIVATIONMETHOD_EMPTY

Visual Basic Syntax

conDerivedBy = objISchemaType.derivedBy  

Parameters

None.

Return Values

conDerivedBy
For simple types, the derivedBy value can be one of the following:

SCHEMADERIVATIONMETHOD_RESTRICTION

SCHEMADERIVATIONMETHOD_LIST

SCHEMADERIVATIONMETHOD_UNION

For complex types, the derivedBy value can be one of the following:

SCHEMADERIVATIONMETHOD_EXTENSION

SCHEMADERIVATIONMETHOD_RESTRICTION

For any-type the derivedBy value is always as follows:

SCHEMADERIVATIONMETHOD_EMPTY

C/C++ Syntax

HRESULT get_derivedBy(SCHEMADERIVATIONMETHOD* derivedBy);  

Parameters

derivedBy [out,retval]
For simple types, the derivedBy value can be one of the following:

SCHEMADERIVATIONMETHOD_RESTRICTION

SCHEMADERIVATIONMETHOD_LIST

SCHEMADERIVATIONMETHOD_UNION

For complex types, the derivedBy value can be one of the following:

SCHEMADERIVATIONMETHOD_EXTENSION

SCHEMADERIVATIONMETHOD_RESTRICTION

For any-type the derivedBy value is always as follows:

SCHEMADERIVATIONMETHOD_EMPTY

Return Values

S_OK
The value returned if successful.

E_POINTER
The value returned if the derivedBy parameter returns NULL.

Versioning

Implemented in: MSXML 6.0

Applies to

ISchemaType Interface

See Also

Primitive and Derived Data Types
Parts of Data Types