CultureInfo Class
CultureInfo Class
Contains the culture name and locale identifier that specifies the language in which input is sent to MapPoint Web Service and in which results are returned. Objects of this type are used to populate the UserInfoHeader.Culture property. The default culture is English—United States.
Public Class CultureInfo Inherits System.Object
[C#]
public class CultureInfo : System.Object
Public Properties
Name | Description |
---|---|
Lcid | A 32-bit value that identifies the human language preferred by the customer. This property is optional if you use the Name property. The default value for the Lcid property is 1033 (English—United States). |
Name | The culture name from the System.Globalization.CultureInfo class. This property is optional if you use the Lcid property. The default value for the Name property is en-US (English—United States). |
Remarks
You can create an instance of the CultureInfo class with either a Name property, an Lcid property, or both. If you use both, they must refer to the same country/region; otherwise, a SOAP fault is returned.
Addresses returned by the FindServiceSoap.FindAddress method are not affected by the CultureInfo.Name and CultureInfo.Lcid properties. Instead, addresses are returned in the local language of the area in which the address is located.
If the CultureInfo class includes a value for the Name or Lcid property that is not supported for the DataSource object specified in the call to MapPoint Web Service, a SOAP fault is returned.
For more information about valid values, see Supported Languages.
See Also
UserInfoHeader.Culture Property | FindServiceSoap.FindAddress Method | DataSource Class | Supported Languages