Click or drag to resize

GBCulture Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Represents cultural information about GeoBase objects. This class can be used to map between a culture name and an IetfLanguageTag such as "en-US".
Inheritance Hierarchy
SystemObject
  Telogis.GeoBaseGBCulture

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.86.0.0
Syntax
public class GBCulture

The GBCulture type exposes the following members.

Constructors
  NameDescription
Public methodGBCulture
Create a new GBCulture object.
Public methodGBCulture(String, String)
Create and initialize a new GBCulture object.
Top
Properties
  NameDescription
Public propertyCultureIetfLanguageTag
The IetfLanguageTag (e.g. "en-US", "fr-FR") for this culture.
Public propertyCultureName
The display name for this culture.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string representation of the culture.
(Overrides ObjectToString.)
Top
Examples
C#
GBCulture culture = new GBCulture("en-US", "English (USA)");
Console.WriteLine("Culture for '{0}' is '{1}'", culture.CultureName, culture.CultureIetfLanguageTag);
// 'Culture for 'English (USA)' is 'en-US''
See Also