Freigeben über


schemas Property

 

Used to register schemas with the SAX reader.

JScript Syntax

oSaxReader.putProperty(strProp, oCache);  
oCache = oSaxReader.getProperty(strProp);  

Visual Basic Syntax

oSaxReader.putProperty
(strProp, oCache)  
oCache = oSaxReader.getProperty
(strProp)  

C/C++ Syntax

HRESULT putProperty(BSTR strProp, VARIANT oCache);  
HRESULT getProperty(BSTR strProp, VARIANT oCache);  

Value

strProp
A BSTR string whose value is "schemas".

strVal
An object of IXMLDOMSchemaCollection/XMLSchemaCache type.

Remarks

When the SAX reader is actively parsing, this property is limited to read-only access. Otherwise, if the SAX reader is not actively parsing, full (read/write) access is permitted.

Applies to

Interface: ISAXXMLReader

Method: putProperty | getProperty

Versioning

Implemented in: MSXML 6.0