CultureInfo.Lcid Property

CultureInfo.Lcid Property

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).


Public Lcid As System.Integer


[C#]

public System.Int32 Lcid;
                

Remarks

  • If you use both the Lcid property and the Name property, they must refer to the same country/region; otherwise, a SOAP fault is returned.

  • If the value of the Lcid property is not supported for the DataSource object specified in a call to MapPoint Web Service, a SOAP fault is returned.

    For more information about valid Lcid property values, see Supported Languages.

Example

[Visual Basic]

' Set the Find Service language ID to French
Dim myCultureInfo As New CultureInfo()
myCultureInfo.Lcid = 12
Dim myUserInfoFindHeader As New UserInfoFindHeader()
myUserInfoFindHeader.Culture = myCultureInfo
findService.UserInfoFindHeaderValue = myUserInfoFindHeader



[C#]

// Set the Find Service language ID to French
CultureInfo myCultureInfo = new CultureInfo();
myCultureInfo.Lcid = 12;
UserInfoFindHeader myUserInfoFindHeader = new UserInfoFindHeader();
myUserInfoFindHeader.Culture = myCultureInfo;
findService.UserInfoFindHeaderValue = myUserInfoFindHeader;


See Also

  CultureInfo Class   |   CultureInfo.Name Property   |   DataSource Class   |   Supported Languages