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

final Property

Returns a constant value in the form of a string. This string consists of a combination of the values in the table below. The values in the simple types and complex types columns indicate the method by which a simpleType or a complexType cannot be derived if it is to be used as a base type for another data type.

The final value can be any combination of the following types:

Simple Types Description
SCHEMADERIVATIONMETHOD_EXTENSION SimpleType cannot be used as a base type if derived by extension.
SCHEMADERIVATIONMETHOD_LIST SimpleType cannot be used as a base type if derived by list.
SCHEMADERIVATIONMETHOD_UNION SimpleType cannot be used as a base type if derived by union.
SCHEMADERIVATIONMETHOD_RESTRICTION SimpleType cannot be used as a base type if derived by restriction.
SCHEMADERIVATIONMETHOD_ALL SimpleType cannot be used as a base type.

Complex types Description
SCHEMADERIVATIONMETHOD_EXTENSION ComplexType cannot be used as a base type if derived by extension.
SCHEMADERIVATIONMETHOD_RESTRICTION ComplexType cannot be used as a base type if derived by restriction.
SCHEMADERIVATIONMETHOD_ALL ComplexType cannot be used as a base type.

[Script]

Implementation Syntax

var conFinal = oISchemaType.final;

Parameters

None.

Return Values

conFinal
An Enum of type SCHEMADERIVATIONMETHOD. The final value of the type definition.
[Visual Basic]

Implementation Syntax

conFinal = oISchemaType.final

Parameters

None.

Return Values

conFinal
An Enum of type SCHEMADERIVATIONMETHOD. The final value of the type definition.
[C/C++]

Implementation Syntax

HRESULT get_final(SCHEMADERIVATIONMETHOD* final);

Parameters

final [out,retval]
An Enum of type SCHEMADERIVATIONMETHOD. The base type of the complex type.

Return Values

S_OK
The value returned if successful.
E_POINTER
The value returned if the final parameter is NULL.

The following table shows the enumerated list of numeric values that can be used for each of the types listed above.

Enumerated value Value
SCHEMADERIVATIONMETHOD_EMPTY 0x0000
SCHEMADERIVATIONMETHOD_SUBSTITUTION 0x0001
SCHEMADERIVATIONMETHOD_EXTENSION 0x0002
SCHEMADERIVATIONMETHOD_RESTRICTION 0x0004
SCHEMADERIVATIONMETHOD_LIST 0x0008
SCHEMADERIVATIONMETHOD_UNION 0x0010
SCHEMADERIVATIONMETHOD_ALL 0x00FF
SCHEMADERIVATIONMETHOD_NONE 0x0100

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

element Element

Applies to: ISchemaType Interface