次の方法で共有


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