endEntity Method

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - SAX2 Reference

endEntity Method

Indicates that the reader has opened and finished processing an externally defined entity in the content of the document.

[Visual Basic]

Implementation Syntax

Sub endEntity(strName As String)

Parameters

strName
The name of the entity.

Return Values

If failed, the LexicalHandler raises a trappable error.

[C/C++]

Syntax

HRESULT EndEntity(
   [in] const wchar_t * pwchName, 
   [in] int cchName); 

Parameters

pwchName [in]
The name of the entity. For parameter entities, the name begins with "%".
cchName [in]
The length of the entity name.

Return Values

S_OK
The value returned if no errors occur.
E_FAIL
The value returned if the parse operation should be aborted.

To view reference information for Visual Basic or C/C++ only, click the Language Filter button Language Filter in the upper-left corner of the page.

See Also

startEntity Method

Applies to: ISAXLexicalHandler/IVBSAXLexicalHandler Interface