Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.