Partager via


MetadataBase Class

Applies To: Microsoft Dynamics CRM 2013, Microsoft 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)

Syntax

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

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.Metadata.MetadataBase
     Derived Classes

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.

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),

See Also

Reference

MetadataBase Members
Microsoft.Xrm.Sdk.Metadata Namespace

Other Resources

Extend the Metadata Model for Microsoft Dynamics CRM

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.