共用方式為


BaseCodeGeneratorWithSite.GetSite 方法

命名空間:  Microsoft.VisualStudio.TextTemplating.VSHost
組件:  Microsoft.VisualStudio.TextTemplating.VSHost.10.0 (在 Microsoft.VisualStudio.TextTemplating.VSHost.10.0.dll 中)

語法

'宣告
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
)

參數

實作

IObjectWithSite.GetSite(Guid%, IntPtr%)

.NET Framework 安全性

請參閱

參考

BaseCodeGeneratorWithSite 類別

Microsoft.VisualStudio.TextTemplating.VSHost 命名空間