Share via


CultureInfo Class

CultureInfo Class

Contains the culture name and/or locale identifier to specify the language used to send input to MapPoint Web Service, and by MapPoint Web Service to return results. Used to populate the UserInfoHeader.Culture property.

Public Class CultureInfo
    Member of [Namespace]
[C#]
public class CultureInfo : System.Object
    Member of [Namespace]

Public Properties

public propertyName The culture name from the System.Globalization.CultureInfo class. String.
public propertyLcid A 32-bit value that identifies the human language preferred by the customer. Integer.

Remarks

  • The default culture is English—United States.
  • The CultureInfo class is valid with either a Name or Lcid property, or both. If both are passed, they must both refer to the same country or region; otherwise, a SOAP fault is returned.
  • Addresses returned from the FindServiceSoap.FindAddress method are not affected by the CultureInfo.Name or CultureInfo.Lcid properties; addresses are returned in the local language of the area in which the address is located.
  • If the CultureInfo class includes a Name or Lcid property value that is not supported for the DataSource object specified in the call to MapPoint Web Service, a SOAP fault is returned.
  • For a table of the valid Name and Lcid property values for each MapPoint Web Service data source, see Supported Languages.

See Also

UserInfoHeader.Culture Property | FindServiceSoap.FindAddress Method | DataSource Class | Supported Languages