ServiceProvider.IObjectWithSite.GetSite Method
Gets the current site object to resolve services.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
Private Sub GetSite ( _
ByRef riid As Guid, _
<OutAttribute> ByRef ppv As IntPtr _
) Implements IObjectWithSite.GetSite
void IObjectWithSite.GetSite(
ref Guid riid,
out IntPtr ppv
)
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.