Поделиться через


ServiceActivationOptions.ClientCulture Свойство

Определение

Возвращает или задает предпочитаемый язык и региональные параметры клиента.

public:
 property System::Globalization::CultureInfo ^ ClientCulture { System::Globalization::CultureInfo ^ get(); void set(System::Globalization::CultureInfo ^ value); };
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.ServiceHub.Framework.CultureInfoJsonConverter))]
[System.Runtime.Serialization.DataMember]
public System.Globalization.CultureInfo? ClientCulture { get; set; }
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.ServiceHub.Framework.CultureInfoJsonConverter))]
[System.Runtime.Serialization.DataMember]
[System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.ServiceHub.Framework.CultureInfoSystemTextJsonConverter))]
public System.Globalization.CultureInfo? ClientCulture { [System.Runtime.CompilerServices.IsReadOnly] get; set; }
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.ServiceHub.Framework.CultureInfoJsonConverter))>]
[<System.Runtime.Serialization.DataMember>]
member this.ClientCulture : System.Globalization.CultureInfo with get, set
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.ServiceHub.Framework.CultureInfoJsonConverter))>]
[<System.Runtime.Serialization.DataMember>]
[<System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.ServiceHub.Framework.CultureInfoSystemTextJsonConverter))>]
[<get: System.Runtime.CompilerServices.IsReadOnly>]
member this.ClientCulture : System.Globalization.CultureInfo with get, set
Public Property ClientCulture As CultureInfo

Значение свойства

Атрибуты
Newtonsoft.Json.JsonConverterAttribute DataMemberAttribute JsonConverterAttribute IsReadOnlyAttribute

Применяется к