DataMappedObjectTypeAttribute クラス

インターフェイスまたはクラスがマップ済みのオブジェクト型を表すを指定します。特定の基になるデータ ソースの特定のオブジェクトの厳密に型指定されたビューを公開する マップされたオブジェクトの種類は、API です。

継承階層

System.Object
  System.Attribute
    Microsoft.VisualStudio.Data.Services.DataMappedObjectTypeAttribute

名前空間:  Microsoft.VisualStudio.Data.Services
アセンブリ:  Microsoft.VisualStudio.Data.Services (Microsoft.VisualStudio.Data.Services.dll 内)

構文

'宣言
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Interface, AllowMultiple := True)> _
Public NotInheritable Class DataMappedObjectTypeAttribute _
    Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Interface, AllowMultiple = true)]
public sealed class DataMappedObjectTypeAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Interface, AllowMultiple = true)]
public ref class DataMappedObjectTypeAttribute sealed : public Attribute
[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Interface, AllowMultiple = true)>]
type DataMappedObjectTypeAttribute =  
    class
        inherit Attribute
    end
public final class DataMappedObjectTypeAttribute extends Attribute

DataMappedObjectTypeAttribute 型で公開されるメンバーは以下のとおりです。

コンストラクター

  名前 説明
パブリック メソッド DataMappedObjectTypeAttribute 型名を指定する DataMappedObjectTypeAttribute クラスの新しいインスタンスを初期化します。

このページのトップへ

プロパティ

  名前 説明
パブリック プロパティ AvailableRestrictions 現在の型で使用できるすべての制約を取得または設定します。
パブリック プロパティ AvailableRestrictionsList 現在の型で使用できるすべての制約の一覧を取得します。
パブリック プロパティ ClassId 属性のクラス ID を取得または設定します。
パブリック プロパティ Identifier 現在の型を区別する識別子の名前を取得または設定します。
パブリック プロパティ IdentifierList 現在の型を区別する識別子のリストを取得します。
パブリック プロパティ RequiredOrdering 現在のマップされた型の必須の順序を取得または設定します。
パブリック プロパティ TypeId 派生クラスに実装されている場合は、この Attribute の一意の識別子を取得します。 (Attribute から継承されます。)
パブリック プロパティ TypeName マップされた種類の名前を取得します。

このページのトップへ

メソッド

  名前 説明
パブリック メソッド Equals インフラストラクチャ。このインスタンスが、指定したオブジェクトに等しいかどうかを示す値を返します。 (Attribute から継承されます。)
パブリック メソッド GetHashCode 対象のインスタンスのハッシュ コードを返します。 (Attribute から継承されます。)
パブリック メソッド GetType 現在のインスタンスの Type を取得します。 (Object から継承されます。)
パブリック メソッド IsDefaultAttribute 派生クラス内でオーバーライドされたときに、このインスタンスの値が派生クラスの既定値かどうかを示します。 (Attribute から継承されます。)
パブリック メソッド Match 派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。 (Attribute から継承されます。)
パブリック メソッド ToString 現在のオブジェクトを表す文字列を返します。 (Object から継承されます。)

このページのトップへ

明示的インターフェイスの実装

  名前 説明
明示的なインターフェイス実装プライベート メソッド _Attribute.GetIDsOfNames 一連の名前を対応する一連のディスパッチ識別子に割り当てます。 (Attribute から継承されます。)
明示的なインターフェイス実装プライベート メソッド _Attribute.GetTypeInfo オブジェクトの型情報を取得します。この情報はインターフェイスの型情報の取得に使用できます。 (Attribute から継承されます。)
明示的なインターフェイス実装プライベート メソッド _Attribute.GetTypeInfoCount オブジェクトが提供する型情報インターフェイスの数 (0 または 1) を取得します。 (Attribute から継承されます。)
明示的なインターフェイス実装プライベート メソッド _Attribute.Invoke オブジェクトによって公開されたプロパティおよびメソッドへのアクセスを提供します。 (Attribute から継承されます。)

このページのトップへ

解説

データ ソースの型とジェネリック型の間のマップがデータ オブジェクトのサポートの XML ファイルで指定します。たとえば、名前が MappedType の要素で見つかった TableColumn マップされた型は Type に含まれる Column というデータ ソースの種類にマップできるジェネリック型です。

スレッド セーフ

この型のすべてのパブリック static (Visual Basic では Shared) メンバーは、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

参照

関連項目

Microsoft.VisualStudio.Data.Services 名前空間