Partager via


UIElement.GetSite Method

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Public Sub GetSite ( _
    ByRef riid As Guid, _
    <OutAttribute> ByRef ppvSite As IntPtr _
)
'Utilisation
Dim instance As UIElement
Dim riid As Guid
Dim ppvSite As IntPtr

instance.GetSite(riid, ppvSite)
public void GetSite(
    ref Guid riid,
    out IntPtr ppvSite
)
public:
virtual void GetSite(
    Guid% riid, 
    [OutAttribute] IntPtr% ppvSite
) sealed
abstract GetSite : 
        riid:Guid byref * 
        ppvSite:IntPtr byref -> unit 
override GetSite : 
        riid:Guid byref * 
        ppvSite:IntPtr byref -> unit 
public final function GetSite(
    riid : Guid, 
    ppvSite : IntPtr
)

Parameters

Implements

IObjectWithSite.GetSite(Guid%, IntPtr%)

.NET Framework Security

See Also

Reference

UIElement Class

UIElement Members

Microsoft.Internal.VisualStudio.PlatformUI Namespace