Share via


LocalizedString Class

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.

Represents a localized string for use in client applications.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.DataModel
Assembly:  Microsoft.Dynamics.Commerce.Runtime.Entities (in Microsoft.Dynamics.Commerce.Runtime.Entities.dll)

Syntax

'Declaration
<DataContractAttribute> _
Public Class LocalizedString _
    Inherits CommerceEntity
'Usage
Dim instance As LocalizedString
[DataContractAttribute]
public class LocalizedString : CommerceEntity
[DataContractAttribute]
public ref class LocalizedString : public CommerceEntity

Remarks

Because the entities are defined for the clients to consume through REST:

1. The properties that are NOT relevant to the clients are not exposed (e.g. opt-in only).

2. The mandatory properties are defined as basic properties.

3. The optional properties are kept in the property bag.

4. Localization is handled through the locale property (e.g. we only return properties of the locale that clients care about).

Inheritance Hierarchy

System.Object
  Microsoft.Dynamics.Commerce.Runtime.DataModel.CommerceEntity
    Microsoft.Dynamics.Commerce.Runtime.DataModel.LocalizedString

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Dynamics.Commerce.Runtime.DataModel Namespace