The culture name from the System.Globalization.CultureInfo class. String. Optional if the Lcid property is used.
Public Dim Name As String Member of [Namespace].CultureInfo [C#] public System.String Name Member of [Namespace].CultureInfo
- Default is en-US (English—United States).
- If the Name property is passed along with the Lcid property, they must both refer to the same country or region; otherwise, a SOAP fault is returned.
- If the Name property is not supported for the DataSource object specified in a call to MapPoint Web Service, a SOAP fault is returned.
- For a table of the valid Name property values for each MapPoint Web Service data source, see Supported Languages.
[Visual Basic] 'This example assumes that the service instance ''findService' has already been created and that 'the MapPoint Web Service namespace has been imported ' Set the Find Service language to French Dim myCultureInfo As New CultureInfo() myCultureInfo.Name = "fr" Dim myUserInfoFindHeader As New UserInfoFindHeader() myUserInfoFindHeader.Culture = myCultureInfo findService.UserInfoFindHeaderValue = myUserInfoFindHeader [C#] //This example assumes that the service instance //'findService' has already been created and that //the MapPoint Web Service namespace has been imported // Set the Find Service language to French CultureInfo myCultureInfo = new CultureInfo(); myCultureInfo.Name = "fr"; UserInfoFindHeader myUserInfoFindHeader = new UserInfoFindHeader(); myUserInfoFindHeader.Culture = myCultureInfo; findService.UserInfoFindHeaderValue = myUserInfoFindHeader;