Partager via


Propriété ClientCultureInfo

Gets the culture for the current client.

Espace de noms :  Microsoft.AnalysisServices.AdomdServer
Assembly :  msmgdsrv (en msmgdsrv.dll)

Syntaxe

'Déclaration
Public Shared ReadOnly Property ClientCultureInfo As CultureInfo
    Get
'Utilisation
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

Valeur de propriété

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

Exemples

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

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