Bagikan melalui


BaseCodeGeneratorWithSite.GetSite Method

Namespace:  Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.VSHost.10.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.10.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

Implements

IObjectWithSite.GetSite(Guid%, IntPtr%)

.NET Framework Security

See Also

Reference

BaseCodeGeneratorWithSite Class

Microsoft.VisualStudio.TextTemplating.VSHost Namespace