Dela via


UpdateOptionValueRequest.MergeLabels Property

 

Applies To: Dynamics CRM 2015

Gets or sets whether to keep text defined for languages not included in the Label. Required.

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

Syntax

public bool MergeLabels { get; set; }
public:
property bool MergeLabels {
    bool get();
    void set(bool value);
}
member MergeLabels : bool with get, set
Public Property MergeLabels As Boolean

Property Value

Type: System.Boolean

Type: Boolean
true if the text defined for languages not included in the Label is kept; otherwise, false.

Remarks

A Label contains a LocalizedLabels property that contains a LocalizedLabelCollection. Each contains a string and a LanguageCode. When you specify a new Label this property provides you the option to preserve any label text for languages not included in the new label. Set this value to false if you want to remove text for languages not included in the label.

See Also

UpdateOptionValueRequest Class
Microsoft.Xrm.Sdk.Messages Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright