Bagikan melalui


Label Class

Definition

Contains a collection of translations for a label.

For the Web API the corresponding type is Label ComplexType.

public ref class Label sealed : System::Runtime::Serialization::IExtensibleDataObject
[System.Runtime.Serialization.DataContract(Name="Label", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class Label : System.Runtime.Serialization.IExtensibleDataObject
[<System.Runtime.Serialization.DataContract(Name="Label", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")>]
type Label = class
    interface IExtensibleDataObject
Public NotInheritable Class Label
Implements IExtensibleDataObject
Inheritance
Label
Attributes
Implements

Remarks

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

Constructors

Label()

Initializes a new instance of the Label class.

Label(LocalizedLabel, List<LocalizedLabel>)
Label(LocalizedLabel, LocalizedLabel[])

Initializes a new instance of the Label class.

Label(String, Int32)

Initializes a new instance of the Label class.

Properties

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.

Applies to