isAbstract Property (ISchemaElement)
[This feature was only implemented for MSXML 6.0.]
Returns a Boolean. If the value is true, the element can appear as the type definition in an element declaration, and can be referenced as an XSI:type
attribute in a document. If the value is false, the element cannot appear as the type definition or be referenced as an XSI:type
attribute.
JScript Syntax
var bolIsAbstract = oISchemaAttribute.isAbstract;
Parameters
None.
Return Values
bolIsAbstract
A Boolean. Indicates whether the schema element object is abstract.
Example
The following snippet is taken from the Walk the SOM sample application. In this snippet, the isAbstract
property is retrieved from the ISchemaElement
object.
res = res + " abstract='" & oElement.isAbstract & "'"
Visual Basic Syntax
bolIsAbstract = oISchemaAttribute.isAbstract
Parameters
None.
Return Values
bolIsAbstract
A Boolean. Indicates whether the schema element object is abstract.
C/C++ Syntax
HRESULT get_isAbstract(VARIANT_BOOL* isAbstract);
Parameters
isAbstract[out,retval]
A Boolean. The value VARIANT_TRUE is returned if the element is abstract.
Return Values
S_OK
The value returned if successful.
E_POINTER
The value returned if the isAbstract parameter is NULL.
Versioning
Implemented in: MSXML 6.0