Nevron Open Vision Documentation
Nevron.Nov.Text Namespace / NEncoding Class / GetEncoding Method / GetEncoding(Int32) Method
The code page to get an encoding for.


In This Topic
    GetEncoding(Int32) Method
    In This Topic
    Returns the encoding associated with the specified code page or null if no such encoding is supported.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetEncoding( _
       ByVal codePage As System.Integer _
    ) As NEncoding
    'Usage
     
    
    Dim codePage As System.Integer
    Dim value As NEncoding
     
    value = NEncoding.GetEncoding(codePage)
    public static NEncoding GetEncoding( 
       System.int codePage
    )

    Parameters

    codePage
    The code page to get an encoding for.

    Return Value

    The encoding associated with the specified code page or null if no such encoding is supported.
    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