DataSiteableObject<T> クラス

オブジェクトのコンテナーとサイト間の通信をサポートする簡単な方法を提供します。

継承階層

System.Object
  Microsoft.VisualStudio.Data.Framework.DataSiteableObject<T>
    詳細...

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

構文

'宣言
Public Class DataSiteableObject(Of T) _
    Implements IVsDataSiteableObject(Of T)
public class DataSiteableObject<T> : IVsDataSiteableObject<T>
generic<typename T>
public ref class DataSiteableObject : IVsDataSiteableObject<T>
type DataSiteableObject<'T> =  
    class
        interface IVsDataSiteableObject<'T>
    end
JScript では、ジェネリックな型またはメソッドは使用できません。

型パラメーター

  • T
    パラメーターの型。

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

コンストラクター

  名前 説明
パブリック メソッド DataSiteableObject<T>() DataSiteableObject<T> クラスの新しいインスタンスを作成します。
パブリック メソッド DataSiteableObject<T>(T) サイトのジェネリック型パラメーターを指定する DataSiteableObject<T> クラスの新しいインスタンスを初期化します。

このページのトップへ

プロパティ

  名前 説明
パブリック プロパティ Site オブジェクトのサイトを取得または設定します。

このページのトップへ

メソッド

  名前 説明
パブリック メソッド Equals 指定のオブジェクトが現在のオブジェクトと等しいかどうかを判断します。 (Object から継承されます。)
プロテクト メソッド Finalize オブジェクトがガベージ コレクションにより収集される前に、そのオブジェクトがリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。)
パブリック メソッド GetHashCode 特定の型のハッシュ関数として機能します。 (Object から継承されます。)
パブリック メソッド GetType 現在のインスタンスの Type を取得します。 (Object から継承されます。)
プロテクト メソッド MemberwiseClone 現在の Object の簡易コピーを作成します。 (Object から継承されます。)
プロテクト メソッド OnSiteChanged SiteChanged イベントを発生させます。
パブリック メソッド ToString 現在のオブジェクトを表す文字列を返します。 (Object から継承されます。)

このページのトップへ

イベント

  名前 説明
パブリック イベント SiteChanged Site プロパティが変更されると発生します。

このページのトップへ

解説

このクラスは、サイトが変更されたときに発生するイベントを提供します。この場合、変更がオブジェクトのサイトに発生したときにクライアントまたは派生クラスがカスタム ロジックを適用できます。

スレッド セーフ

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

参照

関連項目

Microsoft.VisualStudio.Data.Framework 名前空間

継承階層

System.Object
  Microsoft.VisualStudio.Data.Framework.DataSiteableObject<T>
    Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetConnectionProperties
    Microsoft.VisualStudio.Data.Framework.DataAsyncCommand
    Microsoft.VisualStudio.Data.Framework.DataCommand
    Microsoft.VisualStudio.Data.Framework.DataConnectionEquivalencyComparer
    Microsoft.VisualStudio.Data.Framework.DataMappedObjectConverter
    Microsoft.VisualStudio.Data.Framework.DataObjectIdentifierConverter
    Microsoft.VisualStudio.Data.Framework.DataObjectIdentifierResolver
    Microsoft.VisualStudio.Data.Framework.DataObjectMemberComparer
    Microsoft.VisualStudio.Data.Framework.DataObjectSelector
    Microsoft.VisualStudio.Data.Framework.DataProviderObjectFactory
    Microsoft.VisualStudio.Data.Framework.DataSourceInformation
    Microsoft.VisualStudio.Data.Framework.DataSourceVersionComparer
    Microsoft.VisualStudio.Data.Framework.DataTransaction
    Microsoft.VisualStudio.Data.Framework.DataViewBrowseObjectProvider
    Microsoft.VisualStudio.Data.Framework.DataViewCommandProvider
    Microsoft.VisualStudio.Data.Framework.DataViewDocumentProvider
    Microsoft.VisualStudio.Data.Framework.DSRefBuilder