CommonServiceSoap.UserInfoHeaderValue Property
CommonServiceSoap.UserInfoHeaderValue Property
Context-related information (UserInfoHeader object) that defines the locale, language, and unit of measurement in which results are returned by the CommonServiceSoap methods.
Public UserInfoHeaderValue As
UserInfoHeader
[C#]
public UserInfoHeader
UserInfoHeaderValue;
Example
[Visual Basic]
'Instantiate the service variable
Dim commonService As New CommonServiceSoap()
'Set the language to Spanish
Dim myUserInfoHeader As New UserInfoHeader()
myUserInfoHeader.Culture = New CultureInfo()
myUserInfoHeader.Culture.Name = "es"
commonService.UserInfoHeaderValue = myUserInfoHeader
[C#]
//Instantiate the service variable
CommonServiceSoap commonService = new CommonServiceSoap();
//Set the language to Spanish
UserInfoHeader myUserInfoHeader = new UserInfoHeader();
myUserInfoHeader.Culture = new CultureInfo();
myUserInfoHeader.Culture.Name = "es";
commonService.UserInfoHeaderValue = myUserInfoHeader;
See Also
CommonServiceSoap Class | UserInfoHeader Class