Freigeben über


LocalizedLabel Class

 

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

Contains a localized label, including the label string and the language code.

For the Web API the corresponding type is LocalizedLabel ComplexType.

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

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.Metadata.MetadataBase
    Microsoft.Xrm.Sdk.LocalizedLabel

Syntax

[DataContractAttribute(Name = "LocalizedLabel", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
[MetadataNameAttribute(LogicalName = "LocalizedLabel", LogicalCollectionName = "LocalizedLabelDefinitions")]
public sealed class LocalizedLabel : MetadataBase
<DataContractAttribute(Name := "LocalizedLabel", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
<MetadataNameAttribute(LogicalName := "LocalizedLabel", LogicalCollectionName := "LocalizedLabelDefinitions")>
Public NotInheritable Class LocalizedLabel
    Inherits MetadataBase

Constructors

Name Description
System_CAPS_pubmethod LocalizedLabel()

Initializes a new instance of the LocalizedLabel class.

System_CAPS_pubmethod LocalizedLabel(String, Int32)

Initializes a new instance of the LocalizedLabel class setting the label string and the language code.

Properties

Name Description
System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.(Inherited from MetadataBase.)

System_CAPS_pubproperty HasChanged

Gets whether the item of metadata has changed.(Inherited from MetadataBase.)

System_CAPS_pubproperty IsManaged

Gets or sets whether the label is managed.

System_CAPS_pubproperty Label

Gets or sets the localized label string.

System_CAPS_pubproperty LanguageCode

Gets or sets the language code for the label.

System_CAPS_pubproperty MetadataId

Gets or sets a unique identifier for the metadata item.(Inherited from MetadataBase.)

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.)

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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright