次の方法で共有


IObjectWithSite.GetSite Method

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

Syntax

'宣言
Sub GetSite ( _
    ByRef riid As Guid, _
    <OutAttribute> ByRef ppvSite As IntPtr _
)
'使用
Dim instance As IObjectWithSite
Dim riid As Guid
Dim ppvSite As IntPtr

instance.GetSite(riid, ppvSite)
void GetSite(
    ref Guid riid,
    out IntPtr ppvSite
)
void GetSite(
    [InAttribute] Guid% riid, 
    [OutAttribute] IntPtr% ppvSite
)
abstract GetSite : 
        riid:Guid byref * 
        ppvSite:IntPtr byref -> unit 
function GetSite(
    riid : Guid, 
    ppvSite : IntPtr
)

Parameters

Remarks

For information on the COM interface, see IObjectWithSite.

.NET Framework Security

See Also

Reference

IObjectWithSite Interface

IObjectWithSite Members

Microsoft.VisualStudio.OLE.Interop Namespace