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.
Gets the current site object to resolve services.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Private Sub GetSite ( _
ByRef riid As Guid, _
<OutAttribute> ByRef ppv As IntPtr _
) Implements IObjectWithSite.GetSite
void IObjectWithSite.GetSite(
ref Guid riid,
out IntPtr ppv
)
private:
virtual void GetSite(
Guid% riid,
[OutAttribute] IntPtr% ppv
) sealed = IObjectWithSite::GetSite
private abstract GetSite :
riid:Guid byref *
ppv:IntPtr byref -> unit
private override GetSite :
riid:Guid byref *
ppv:IntPtr byref -> unit
JScript does not support explicit interface implementations.
Parameters
- riid
Type: System.Guid%
The GUID of the requested interface.
- ppv
Type: System.IntPtr%
The retrieved interface or nulla null reference (Nothing in Visual Basic).
Implements
IObjectWithSite.GetSite(Guid%, IntPtr%)
.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.