derivedBy Property
Returns a SCHEMADERIVATIONMEHOD constant. This constant indicates how the type definition was derived.
Implementation 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
Implementation 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
Implementation 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.
To view reference information for Visual Basic or C/C++ only, click the Language Filter button in the upper-left corner of the page.
See Also
Primitive and Derived Data Types | Parts of Data Types
Applies to: ISchemaType Interface