次の方法で共有


AttributeMetadata クラス

適用対象: CRM 2015 on-prem, CRM Online

Contains all the metadata for an entity attribute.

名前空間: Microsoft.Xrm.Sdk.Metadata
アセンブリ: Microsoft.Xrm.Sdk (Microsoft.Xrm.Sdk.dll に含まれる)

構文

'宣言
<KnownTypeAttribute(GetType(DateTimeAttributeMetadata))> _
<KnownTypeAttribute(GetType(StateAttributeMetadata))> _
<KnownTypeAttribute(GetType(StatusAttributeMetadata))> _
<KnownTypeAttribute(GetType(MemoAttributeMetadata))> _
<KnownTypeAttribute(GetType(BooleanAttributeMetadata))> _
<KnownTypeAttribute(GetType(DecimalAttributeMetadata))> _
<KnownTypeAttribute(GetType(DoubleAttributeMetadata))> _
<KnownTypeAttribute(GetType(EntityNameAttributeMetadata))> _
<KnownTypeAttribute(GetType(ManagedPropertyAttributeMetadata))> _
<KnownTypeAttribute(GetType(IntegerAttributeMetadata))> _
<KnownTypeAttribute(GetType(BigIntAttributeMetadata))> _
<KnownTypeAttribute(GetType(LookupAttributeMetadata))> _
<KnownTypeAttribute(GetType(ImageAttributeMetadata))> _
<KnownTypeAttribute(GetType(MoneyAttributeMetadata))> _
<KnownTypeAttribute(GetType(PicklistAttributeMetadata))> _
<DataContractAttribute(Name:="AttributeMetadata", Namespace:="https://schemas.microsoft.com/xrm/2011/Metadata")> _
<KnownTypeAttribute(GetType(StringAttributeMetadata))> _
Public Class AttributeMetadata
    Inherits MetadataBase
[KnownTypeAttribute(typeof(DateTimeAttributeMetadata))] 
[KnownTypeAttribute(typeof(StateAttributeMetadata))] 
[KnownTypeAttribute(typeof(StatusAttributeMetadata))] 
[KnownTypeAttribute(typeof(MemoAttributeMetadata))] 
[KnownTypeAttribute(typeof(BooleanAttributeMetadata))] 
[KnownTypeAttribute(typeof(DecimalAttributeMetadata))] 
[KnownTypeAttribute(typeof(DoubleAttributeMetadata))] 
[KnownTypeAttribute(typeof(EntityNameAttributeMetadata))] 
[KnownTypeAttribute(typeof(ManagedPropertyAttributeMetadata))] 
[KnownTypeAttribute(typeof(IntegerAttributeMetadata))] 
[KnownTypeAttribute(typeof(BigIntAttributeMetadata))] 
[KnownTypeAttribute(typeof(LookupAttributeMetadata))] 
[KnownTypeAttribute(typeof(ImageAttributeMetadata))] 
[KnownTypeAttribute(typeof(MoneyAttributeMetadata))] 
[KnownTypeAttribute(typeof(PicklistAttributeMetadata))] 
[DataContractAttribute(Name="AttributeMetadata", Namespace="https://schemas.microsoft.com/xrm/2011/Metadata")] 
[KnownTypeAttribute(typeof(StringAttributeMetadata))] 
public class AttributeMetadata : MetadataBase

備考

This class is returned in the RetrieveAttributeResponse.

継承階層

System.Object
   Microsoft.Xrm.Sdk.Metadata.MetadataBase
    Microsoft.Xrm.Sdk.Metadata.AttributeMetadata
       派生クラス

スレッド セーフ

この種類のパブリックな静的 (Visual Basic では Shared) メンバーはスレッド セーフです。インスタンス メンバーがスレッド セーフであることは保証されません。

プラットフォーム

開発プラットフォーム

Windows Vista、Windows Server 2003、および

対象プラットフォーム

Windows Vista、Windows XP

関連項目

参照

AttributeMetadata のメンバー
Microsoft.Xrm.Sdk.Metadata 名前空間

他のリソース

Customize Entity Attribute Metadata
Sample: Dump Attribute Metadata to a File
Sample: Work with Attributes
Sample: Retrieve Entity Metadata Using JavaScript

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