Partager via


IObjectWithSite.GetSite Method

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

Syntax

'Declaration
Sub GetSite ( _
    ByRef riid As Guid, _
    <OutAttribute> ByRef ppvSite As IntPtr _
)
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

  • riid
    Type: Guid%

     

  • ppvSite
    Type: IntPtr%

     

Remarks

For information on the COM interface, see IObjectWithSite.

.NET Framework Security

See Also

Reference

IObjectWithSite Interface

Microsoft.VisualStudio.OLE.Interop Namespace