Nevron Open Vision Documentation
Nevron.Nov.Globalization Namespace / NCultureInfo Class / GetCultureInfo Method


In This Topic
    GetCultureInfo Method
    In This Topic
    Returns the culture with the given name or null if a culture with this name does not exist. The name should be in the format "<languagecode2>-<country/regioncode2>".
    Syntax
    'Declaration
     
    
    Public Shared Function GetCultureInfo( _
       ByVal cultureName As System.String _
    ) As System.Globalization.CultureInfo
    'Usage
     
    
    Dim cultureName As System.String
    Dim value As System.Globalization.CultureInfo
     
    value = NCultureInfo.GetCultureInfo(cultureName)
    public static System.Globalization.CultureInfo GetCultureInfo( 
       System.string cultureName
    )

    Parameters

    cultureName
    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