Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))

Culture Property

Location

My.Application.Culture

Syntax

Dim result As System.Globalization.CultureInfo = _ My.Application.Culture

Description

The Culture property returns a System.Globalization.CultureInfo object that indicates the active culture settings used by the active thread to format and manage certain display elements. The culture setting controls the formatting of dates, times, numbers, currency values, letter casing, and the sorting and comparison of text strings. For instance, this setting controls the default order of the month, day, and year values when formatting dates. Although the culture setting includes a language code, it is not used to determine the user interface language.

Related Framework Entries

  • Microsoft.VisualBasic.ApplicationServices.ApplicationBase.Culture Property

  • System.Globalization.CultureInfo Class

  • System.Threading.Thread.CurrentCulture Class

See Also

Application Object, ChangeCulture Method, InstalledUICulture Property, UICulture Property

Категории