次の方法で共有


final Property

 

[This feature was only implemented for MSXML 6.0.]

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.

JScript Syntax

var conFinal = oISchemaType.final;  

Parameters

None.

Return Values

conFinal
An Enum of type SCHEMADERIVATIONMETHOD. The final value of the type definition.

Visual Basic Syntax

conFinal = oISchemaType.final  

Parameters

None.

Return Values

conFinal
An Enum of type SCHEMADERIVATIONMETHOD. The final value of the type definition.

C/C++ 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

Versioning

Implemented in: MSXML 6.0

Applies to

ISchemaType Interface

See Also

element Element