GlobalObjectProvider.IObjectWithSite.GetSite Method

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣言
Private Sub GetSite ( _
    ByRef riid As Guid, _
    <OutAttribute> ByRef ppv As IntPtr _
) Implements IObjectWithSite.GetSite
'使用
Dim instance As GlobalObjectProvider
Dim riid As Guid
Dim ppv As IntPtr

CType(instance, IObjectWithSite).GetSite(riid, _
    ppv)
void IObjectWithSite.GetSite(
    ref Guid riid,
    out IntPtr ppv
)
private:
virtual void GetSite(
    Guid% riid, 
    [OutAttribute] IntPtr% ppv
) sealed = IObjectWithSite::GetSite
JScript does not support explicit interface implementations.

Parameters

Implements

IObjectWithSite.GetSite(Guid%, IntPtr%)

Permissions

See Also

Reference

GlobalObjectProvider Class

GlobalObjectProvider Members

Microsoft.VisualStudio.Shell.Design Namespace