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
- riid
Type: System.Guid%
- ppvSite
Type: System.IntPtr%
Implements
IObjectWithSite.GetSite(Guid%, IntPtr%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.