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 命名空间