共用方式為


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
'用途
Dim instance As 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

See Also

Reference

IObjectWithSite Members

Microsoft.VisualStudio.OLE.Interop Namespace