共用方式為


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

適用於