Share via


Culture.Name property

The Name property gets the RFC1766 name of the culture represented by this Culture object.

Namespace:  Microsoft.Exchange.Data.Globalization
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public ReadOnly Property Name As String
    Get
'Usage
Dim instance As Culture
Dim value As String

value = instance.Name
public string Name { get; }

Property value

Type: System.String

Remarks

The description returned by the Name property is usually of the form "xx-XX." For example, the name "en-US" corresponds to English as spoken and written in the United States.

Sometimes there is not a culture description. For example, in the absence of a culture Unicode is sometimes used. In these circumstances, the Culture property will return a name that is not in the "xx-XX" form. For example, it may return "Unicode Culture."

See also

Reference

Culture class

Culture members

Microsoft.Exchange.Data.Globalization namespace