共用方式為


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.

Versioning

Implemented in: MSXML 3.0 and later

Applies to

ISAXLexicalHandler Interface

See Also

startEntity Method