TeamFoundationProfileService.GetUserLanguage Method
Get current user's language preference
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function GetUserLanguage ( _
requestContext As TeamFoundationRequestContext _
) As CultureInfo
public CultureInfo GetUserLanguage(
TeamFoundationRequestContext requestContext
)
public:
CultureInfo^ GetUserLanguage(
TeamFoundationRequestContext^ requestContext
)
member GetUserLanguage :
requestContext:TeamFoundationRequestContext -> CultureInfo
public function GetUserLanguage(
requestContext : TeamFoundationRequestContext
) : CultureInfo
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
Return Value
Type: System.Globalization.CultureInfo
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.