Nevron Open Vision Documentation
Nevron.Nov.Xml Namespace / NCharacterReferenceMap Class / TryGetCharacter Method


In This Topic
    TryGetCharacter Method
    In This Topic
    Gets the character that corresponds to the given references string and returns true on success.
    Syntax
    'Declaration
     
    
    Public Function TryGetCharacter( _
       ByVal referenceString As System.String, _
       ByRef character As System.Char _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NCharacterReferenceMap
    Dim referenceString As System.String
    Dim character As System.Char
    Dim value As System.Boolean
     
    value = instance.TryGetCharacter(referenceString, character)
    public System.bool TryGetCharacter( 
       System.string referenceString,
       out System.char character
    )

    Parameters

    referenceString
    character

    Return Value

    True if a character that corresponds to the given reference string was found, otherwise - false.
    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