Compartilhar via


Propriedade do RDL ClientCultureInfo

Gets the culture for the current client.

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

Sintaxe

'Declaração
Public Shared ReadOnly Property ClientCultureInfo As CultureInfo
    Get
'Uso
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

Valor da propriedade

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

Exemplos

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

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