Partager via


UpdateOptionSetRequest.MergeLabels Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets or sets whether the label metadata will be merged or overwritten. Required.

Namespace:   Microsoft.Xrm.Sdk.Messages
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

public bool MergeLabels { get; set; }
Public Property MergeLabels As Boolean

Property Value

Type: System.Boolean

Type: Boolean
true if the label metadata will be merged or overwritten; otherwise, false.

Remarks

A Label is a collection of localized labels, each containing a string and a language code. If a label for an item already has labels for other languages and you update it with a label that contains only one label for a specific language the MergeLabels parameter provides the option to overwrite the existing labels or merge your new label with any existing language labels. With MergeLabels set to true, any new labels defined will only overwrite existing labels when the languagecode matches.

See Also

UpdateOptionSetRequest Class
Microsoft.Xrm.Sdk.Messages Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright