schema Property
Returns an ISchema
object for this property of the ISchemaItem
object. The object returned is the XML Schema to which the schema item validates. The ISchema
interface is used to examine further information about the object. This property will return NULL for built-in data types if the schema item has an itemType
of SOMITEM_DATATYPE_XXX and a built-in complex anyType
, or if the schema item is itself an ISchema
object. The NULL value is returned to prevent circular referencing.
[Script]
Implementation Syntax
var oSchema = oISchemaItem.schema;
Parameters
None.
Return Values
- oSchema
- An object. The parent XML Schema of the item.
[Visual Basic]
Implementation Syntax
Set oSchema = oISchemaItem.schema
Parameters
None.
Return Values
- oSchema
- An object. The parent XML Schema of the item.
[C/C++]
Implementation Syntax
HRESULT get_schema(ISchema* schema);
Parameters
- schema [out,retval]
- An object. The parent XML Schema of the item.
Return Values
- S_OK
- The value returned if successful.
- E_POINTER
- The value returned if the
schema
object is NULL. - E_FAIL
- The value returned if something else is wrong.
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
ISchema Interface | Using Other Namespaces
Applies to: ISchemaItem Interface