Label Class
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)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Sdk.Label
Syntax
[DataContractAttribute(Name = "Label", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class Label : IExtensibleDataObject
<DataContractAttribute(Name := "Label", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
Public NotInheritable Class Label
Implements IExtensibleDataObject
Constructors
Name | Description | |
---|---|---|
Label() | Initializes a new instance of the Label class. |
|
Label(LocalizedLabel, LocalizedLabel[]) | Initializes a new instance of the Label class. |
|
Label(String, Int32) | Initializes a new instance of the Label class. |
Properties
Name | Description | |
---|---|---|
ExtensionData | Gets or sets the structure that contains extra data. |
|
LocalizedLabels | Gets the collection of localized labels. |
|
UserLocalizedLabel | Gets or set the label for the language of the current user. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Remarks
You can only set a localized label for a language that is installed on the server.
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
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright