Share via


ObjectWithSite Members

Include Protected Members
Include Inherited Members

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

The ObjectWithSite type exposes the following members.

Constructors

 

Name

Description

Public method

ObjectWithSite

Overloaded.

Top

Methods

 

Name

Description

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

OnSiteChanged

Raises the SiteChanged event.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

Site

Retrieves or sets the object site.

Top

Events

 

Name

Description

Public event

SiteChanged

Event that is raised when the Site property is changed.

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

IObjectWithSite.GetSite

Retrieves the last site set using the IObjectWithSite.SetSite method. In cases where there is no known site, the object returns an exception.

Explicit interface implemetationPrivate method

IObjectWithSite.SetSite

Provides the site's pointer to the site object.

Top

See Also

Reference

ObjectWithSite Class

Microsoft.VisualStudio.Data Namespace