ModelingWindowPane.GetSite Method
Gets the site that was set with SetSite.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
Public Sub GetSite ( _
ByRef id As Guid, _
<OutAttribute> ByRef site As IntPtr _
)
public void GetSite(
ref Guid id,
out IntPtr site
)
public:
virtual void GetSite(
Guid% id,
[OutAttribute] IntPtr% site
) sealed
abstract GetSite :
id:Guid byref *
site:IntPtr byref -> unit
override GetSite :
id:Guid byref *
site:IntPtr byref -> unit
public final function GetSite(
id : Guid,
site : IntPtr
)
Parameters
id
Type: Guid%The interface ID to return.
site
Type: IntPtr%The site.
Implements
IObjectWithSite.GetSite(Guid%, IntPtr%)
Remarks
This method is part of the implementation of the IObjectWithSite interface.
.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.