internalEntityDecl Method
Receives/reports a parsed internal entity declaration. Only the effective (first) declaration for each entity is reported.
[Visual Basic]
All parameter entities in the value are expanded. General entities are not expanded.
Implementation Syntax
Sub internalEntityDecl(strName As String, strValue As String)
Parameters
- strName
- The name of the entity. If it is a parameter entity, the name begins with '%'.
- strValue
- The replacement text of the entity.
Return Values
If failed, the DeclHandler
raises a trappable error.
[C/C++]
Syntax
HRESULT internalEntityDecl( [in] const wchar_t * pwchName, [in] int cchName, [in] const wchar_t * pwchValue, [in] int cchValue);
Parameters
- pwchName [in]
- The name of the entity. If it is a parameter entity, the name begins with a "%".
- cchName [in]
- The length of the name string of the entity.
- pwchValue [in]
- The replacement text of the entity.
- cchValue [in]
- The length of the replacement text string.
Return Values
- S_OK
- The value returned if no errors are reported.
- 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 in the upper-left corner of the page.
See Also
Applies to: ISAXDeclHandler/IVBSAXDeclHandler Interface