Returns a value from the SCHEMADERIVATIONMETHOD enumeration. The possible values are SCHEMADERIVATIONMETHOD_EXTENSION and SCHEMADERIVATIONMETHOD_RESTRICTION. The returned value specifies whether an <element>
declaration that appears in a content model will be prevented from additionally validating elements.
See XML SOM Enumerated Constants for the integer values.
Validation might be prevented for one or both of the following two reasons.
xsi:type
attribute that identifies an extension or restriction for the type of the declared element.prohibitedSubstitution
attribute.var conProhibitedSubstitution = oISchemaComplexType.prohibitedSubstitution;
None.
complexType
. The prohibited substitution can be one of the following:
SCHEMADERIVATIONMETHOD_EXTENSION
SCHEMADERIVATIONMETHOD_RESTRICTION
SCHEMADERIVATIONMETHOD_ALL
conProhibitedSubstitution = oISchemaComplexType.prohibitedSubstitution
None.
complexType
. The prohibited substitution can be one of the following:
SCHEMADERIVATIONMETHOD_EXTENSION
SCHEMADERIVATIONMETHOD_RESTRICTION
SCHEMADERIVATIONMETHOD_ALL
HERESULT get_prohibitedSubstitution (SCHEMAFILTER* prohibitedSubstitution);
complexType
. The prohibited substitution can be one of the following:
SCHEMADERIVATIONMETHOD_EXTENSION
SCHEMADERIVATIONMETHOD_RESTRICTION
SCHEMADERIVATIONMETHOD_ALL
prohibitedSubstitution
parameter is 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.
Applies to: ISchemaComplexType Interface