共用方式為


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

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("FC4801A3-2BA9-11CF-A229-00AA003D7352")> _
Public Interface IObjectWithSite
[InterfaceTypeAttribute()]
[GuidAttribute("FC4801A3-2BA9-11CF-A229-00AA003D7352")]
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