Freigeben über


MetadataBase Class

 

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

Specifies the base class for classes that contains metadata information.

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

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.Metadata.MetadataBase
    Microsoft.Xrm.Sdk.LocalizedLabel
    Microsoft.Xrm.Sdk.Metadata.AttributeMetadata
    Microsoft.Xrm.Sdk.Metadata.EntityKeyMetadata
    Microsoft.Xrm.Sdk.Metadata.EntityMetadata
    Microsoft.Xrm.Sdk.Metadata.ManagedPropertyMetadata
    Microsoft.Xrm.Sdk.Metadata.OptionMetadata
    Microsoft.Xrm.Sdk.Metadata.OptionSetMetadataBase
    Microsoft.Xrm.Sdk.Metadata.RelationshipMetadataBase

Syntax

[DataContractAttribute(Name = "MetadataBase", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")]
[KnownTypeAttribute(typeof(RelationshipMetadataBase))]
[KnownTypeAttribute(typeof(EntityMetadata))]
[KnownTypeAttribute(typeof(AttributeMetadata))]
[KnownTypeAttribute(typeof(OptionSetMetadata))]
public abstract class MetadataBase : IExtensibleDataObject
<DataContractAttribute(Name := "MetadataBase", Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata")>
<KnownTypeAttribute(GetType(RelationshipMetadataBase))>
<KnownTypeAttribute(GetType(EntityMetadata))>
<KnownTypeAttribute(GetType(AttributeMetadata))>
<KnownTypeAttribute(GetType(OptionSetMetadata))>
Public MustInherit Class MetadataBase
    Implements IExtensibleDataObject

Constructors

Name Description
System_CAPS_protmethod MetadataBase()

Initializes a new instance of theMetadataBase class

Properties

Name Description
System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubproperty HasChanged

Gets whether the item of metadata has changed.

System_CAPS_pubproperty MetadataId

Gets or sets a unique identifier for the metadata item.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(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.Metadata Namespace
Use the Organization service with Dynamics 365 metadata

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright