Label Class

 

Updated: November 29, 2016

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

Contains a collection of translations for a label.

For the Web API the corresponding type is Label ComplexType.

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

System.Object
  Microsoft.Xrm.Sdk.Label

[DataContractAttribute(Name = "Label", Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class Label : IExtensibleDataObject

NameDescription
System_CAPS_pubmethodLabel()

Initializes a new instance of the Label class.

System_CAPS_pubmethodLabel(LocalizedLabel, LocalizedLabel[])

Initializes a new instance of the Label class.

System_CAPS_pubmethodLabel(String, Int32)

Initializes a new instance of the Label class.

NameDescription
System_CAPS_pubpropertyExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubpropertyLocalizedLabels

Gets the collection of localized labels.

System_CAPS_pubpropertyUserLocalizedLabel

Gets or set the label for the language of the current user.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

You can only set a localized label for a language that is installed on the server.

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

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

Show: