Locale Property

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Gets or sets the locale for the request.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.Messages
Assembly:  Microsoft.Dynamics.Commerce.Runtime.Framework (in Microsoft.Dynamics.Commerce.Runtime.Framework.dll)

Syntax

'Declaration
<DataMemberAttribute> _
Public Property Locale As String
    Get
    Set
'Usage
Dim instance As Request
Dim value As String

value = instance.Locale

instance.Locale = value
[DataMemberAttribute]
public string Locale { get; set; }
[DataMemberAttribute]
public:
property String^ Locale {
    String^ get ();
    void set (String^ value);
}

Property Value

Type: System.String
Returns String.

See Also

Reference

Request Class

Microsoft.Dynamics.Commerce.Runtime.Messages Namespace