ObjectWithSite Class

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

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

Syntax

Public Class ObjectWithSite _
    Implements IObjectWithSite

Dim instance As ObjectWithSite
public class ObjectWithSite : IObjectWithSite
public ref class ObjectWithSite : IObjectWithSite
public class ObjectWithSite implements IObjectWithSite

Remarks

This class provides a simple implementation of the IObjectWithSite interface. Following managed coding standards, it 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.ObjectWithSite
    Microsoft.VisualStudio.Data.DataSourceInformation
    Microsoft.VisualStudio.Data.DataObjectConceptMapper
    Microsoft.VisualStudio.Data.DataObjectEnumerator
    Microsoft.VisualStudio.Data.DataProviderObjectFactory
    Microsoft.VisualStudio.Data.DataObjectRestrictionMapper
    Microsoft.VisualStudio.Data.DataViewBrowseObjectProvider
    Microsoft.VisualStudio.Data.DataViewCommandHandler
    Microsoft.VisualStudio.Data.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

ObjectWithSite Members

Microsoft.VisualStudio.Data Namespace