Share via


RenderServiceSoap.UserInfoRenderHeaderValue Property

The context-related information (UserInfoRenderHeader object) that defines the locale, language, and unit of measurement in which results are returned from the RenderServiceSoap methods.

Public Dim UserInfoRenderHeaderValue As
  [Namespace].UserInfoRenderHeader
    Member of [Namespace].RenderServiceSoap
[C#]
public [Namespace].UserInfoRenderHeader
  UserInfoRenderHeaderValue
    Member of [Namespace].RenderServiceSoap

Example

 
[Visual Basic] 
'This example assumes that the MapPoint Web Service 
'namespace has been imported 

'Set the Render service language to French
Dim renderService As New RenderServiceSoap()
Dim myUserInfoRenderHeader As New UserInfoRenderHeader()
myUserInfoRenderHeader.Culture = New CultureInfo()
myUserInfoRenderHeader.Culture.Name = "fr"
renderService.UserInfoRenderHeaderValue = myUserInfoRenderHeader

 
[C#]
//This example assumes that the MapPoint Web Service 
//namespace has been imported 

//Set the Render service language to French
RenderServiceSoap renderService = new RenderServiceSoap();
UserInfoRenderHeader myUserInfoRenderHeader = new UserInfoRenderHeader();
myUserInfoRenderHeader.Culture = new CultureInfo();
myUserInfoRenderHeader.Culture.Name = "fr";
renderService.UserInfoRenderHeaderValue = myUserInfoRenderHeader;

 

See Also

RenderServiceSoap Class | UserInfoRenderHeader Class