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 _
)
'Usage
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
- riid
Type: System.Guid%
- ppvSite
Type: System.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.