BaseCodeGeneratorWithSite.GetSite Method
Namespace: Microsoft.VisualStudio.TextTemplating.VSHost
Assembly: Microsoft.VisualStudio.TextTemplating.VSHost.12.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.12.0.dll)
Syntax
'Declaration
Public Overridable Sub GetSite ( _
ByRef riid As Guid, _
<OutAttribute> ByRef ppvSite As IntPtr _
)
public virtual void GetSite(
ref Guid riid,
out IntPtr ppvSite
)
public:
virtual void GetSite(
Guid% riid,
[OutAttribute] IntPtr% ppvSite
)
abstract GetSite :
riid:Guid byref *
ppvSite:IntPtr byref -> unit
override GetSite :
riid:Guid byref *
ppvSite:IntPtr byref -> unit
public function GetSite(
riid : Guid,
ppvSite : IntPtr
)
Parameters
- riid
Type: System.Guid%
- ppvSite
Type: System.IntPtr%
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.