Share via


Context.ClientCultureInfo Property

Gets the culture for the current client.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public Shared ReadOnly Property ClientCultureInfo As CultureInfo
    Get
'Usage
Dim value As CultureInfo

value = Context.ClientCultureInfo
public static CultureInfo ClientCultureInfo { get; }
public:
static property CultureInfo^ ClientCultureInfo {
    CultureInfo^ get ();
}
static member ClientCultureInfo : CultureInfo
static function get ClientCultureInfo () : CultureInfo

Property Value

Type: System.Globalization.CultureInfo
The CultureInfo for the current client.

Examples

In the following example, ClientCultureInfo is passed into ToString to parse a date in the correct format:

((DateTime)_dblRangeHigh).ToString(Context.ClientCultureInfo);