Share via


DataSiteableObject<T> Class

Provides a simplified way to support communication between an object and its site in the container.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Class DataSiteableObject(Of T) _
    Implements IVsDataSiteableObject(Of T)
'Usage
Dim instance As DataSiteableObject(Of T)
public class DataSiteableObject<T> : IVsDataSiteableObject<T>
generic<typename T>
public ref class DataSiteableObject : IVsDataSiteableObject<T>
JScript does not support generic types or methods.

Type Parameters

  • T

Remarks

This class provides an event that is raised when the site is changed. This allows a client or any derived class to apply custom logic when changes occur to the object site.

Inheritance Hierarchy

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

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

Reference

DataSiteableObject<T> Members

Microsoft.VisualStudio.Data.Framework Namespace