Search Results for

    Show / Hide Table of Contents

    Class CultureInfo

    The information about a specific culture (aka locale). The information includes the names for the culture, the writing system, the calendar used, the sort order of strings, and formatting for dates and numbers.

    Inheritance
    CultureInfo
    Assembly: FlaxEngine.dll
    File: Engine/Localization/CultureInfo.h
    Syntax
    public class CultureInfo

    Constructors

    CultureInfo(const StringAnsiView& name)

    Initializes a new instance of the CultureInfo class.

    Declaration
    public CultureInfo(const StringAnsiView& name)
    Parameters
    StringAnsiView name

    The culture name (eg. pl-PL).

    CultureInfo(const StringView& name)

    Initializes a new instance of the CultureInfo class.

    Declaration
    public CultureInfo(const StringView& name)
    Parameters
    StringView name

    The culture name (eg. pl-PL).

    CultureInfo(int32 lcid)

    Initializes a new instance of the CultureInfo class.

    Declaration
    public CultureInfo(int32 lcid)
    Parameters
    int32 lcid

    The culture identifier.

    Methods

    GetEnglishName()

    Gets the culture name in English (eg. polski (Polska)).

    Declaration
    public String GetEnglishName() const
    Returns
    String

    GetLCID()

    Gets the culture identifier.

    Declaration
    public int32 GetLCID() const
    Returns
    int32

    GetName()

    Gets the culture name (eg. pl-PL).

    Declaration
    public String GetName() const
    Returns
    String

    GetNativeName()

    Gets the full localized culture name (eg. Polish (Poland)).

    Declaration
    public String GetNativeName() const
    Returns
    String

    GetParentLCID()

    Gets the parent culture identifier.

    Declaration
    public int32 GetParentLCID() const
    Returns
    int32

    operator==(const CultureInfo& other)

    Declaration
    public bool operator==(const CultureInfo& other) const
    Parameters
    CultureInfo other

    Returns
    bool

    ToString()

    Declaration
    public String ToString() const
    Returns
    String

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat