Partager via


IObjectWithSite Interface

Provides simple communication between an object and the site in the container. For more information, see IObjectWithSite.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("FC4801A3-2BA9-11CF-A229-00AA003D7352")> _
Public Interface IObjectWithSite
[InterfaceTypeAttribute()]
[GuidAttribute("FC4801A3-2BA9-11CF-A229-00AA003D7352")]
public interface IObjectWithSite
[InterfaceTypeAttribute()]
[GuidAttribute(L"FC4801A3-2BA9-11CF-A229-00AA003D7352")]
public interface class IObjectWithSite
[<InterfaceTypeAttribute()>]
[<GuidAttribute("FC4801A3-2BA9-11CF-A229-00AA003D7352")>]
type IObjectWithSite =  interface end
public interface IObjectWithSite

The IObjectWithSite type exposes the following members.

Methods

  Name Description
Public method GetSite
Public method SetSite

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace