Partager via


lexical-handler Property

 

Specifies an optional extension handler for lexical events like comments.

JScript Syntax

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

Visual Basic Syntax

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

C/C++ Syntax

HRESULT putProperty(BSTR strProp, VARIANT oHandlr);  
HRESULT getProperty(BSTR strProp, VARIANT* oHandlr);  

Value

strProp
A BSTR string whose value is "http://xml.org/sax/properties/lexical-handler".

oHandlr
An object of ISAXXMLLexicalHandler type.

Remarks

None.

Applies to

Interface: ISAXXMLReader

Method: putProperty | getProperty

Versioning

Implemented in: MSXML 3.0 and later