Nevron Open Vision Documentation
Nevron.Nov.Xml Namespace / NXmlParser Class / TryExpandCharRef Method
The character reference map to use.
The reference string to expand.
The character result of the expansion.


In This Topic
    TryExpandCharRef Method
    In This Topic
    Tries to expand the given reference string to a char reference and returns true on success.
    Syntax
    'Declaration
     
    
    Protected Function TryExpandCharRef( _
       ByVal map As NCharacterReferenceMap, _
       ByVal refString As System.String, _
       ByRef refChar As System.Char _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NXmlParser
    Dim map As NCharacterReferenceMap
    Dim refString As System.String
    Dim refChar As System.Char
    Dim value As System.Boolean
     
    value = instance.TryExpandCharRef(map, refString, refChar)
    protected System.bool TryExpandCharRef( 
       NCharacterReferenceMap map,
       System.string refString,
       out System.char refChar
    )

    Parameters

    map
    The character reference map to use.
    refString
    The reference string to expand.
    refChar
    The character result of the expansion.

    Return Value

    True if the given character reference has been successfully expanded.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also