Jaa


Label Class

 

Applies To: Dynamics CRM 2015

Contains a collection of translations for a label.

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 ref class Label sealed : IExtensibleDataObject
[<Sealed>]
[<DataContractAttribute(Name = "Label", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")>]
type Label = 
    class
        interface IExtensibleDataObject
    end
<DataContractAttribute(Name := "Label", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
Public NotInheritable Class Label
    Implements IExtensibleDataObject

Constructors

Name Description
System_CAPS_pubmethod Label()

Initializes a new instance of the Label class.

System_CAPS_pubmethod Label(LocalizedLabel, LocalizedLabel[])

Initializes a new instance of the Label class.

System_CAPS_pubmethod Label(String, Int32)

Initializes a new instance of the Label class.

Properties

Name Description
System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubproperty LocalizedLabels

Gets the collection of localized labels.

System_CAPS_pubproperty UserLocalizedLabel

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

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod 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

Microsoft.Xrm.Sdk Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright