contentHandler Property
Gets or sets the current content handler.
[Visual Basic]
Usage Syntax
To get the current content handler:
Set oContentHandler = oMXValidator.contentHandler
To set the current content handler:
Set oMXValidator.contentHandler = oContentHandler
[C/C++]
Syntax
[propget] HRESULT contentHandler( [out, retval] IUnknown ** oHandler); [propputref] HRESULT contentHandler( [in] IUnknown *oHandler);
- oHandler [out, retval]
- A reference to the current content handler
MXValidator
, either anIVBSAXcontentHandler
or anISAXContentHandler
. - oHandler [in]
- Either an
IVBSAXContentHandler
or anISAXContentHandler
.
Return Values
- S_OK
- The value returned if no errors occur.
- E_FAIL
- The value returned if a reference to the content handler could not be set or retrieved.
Remarks
The contentHandler
property can accept either an IVBSAXContentHandler
or an ISAXContentHandler
.
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
ISAXContentHandler/IVBSAXContentHandler Interface
Applies to: MXValidator CoClass