Share via


ModelingWindowPane.GetSite Method

Gets the site that was set with SetSite.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.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

Implements

IObjectWithSite.GetSite(Guid%, IntPtr%)

Remarks

This method is part of the implementation of the IObjectWithSite interface.

.NET Framework Security

See Also

Reference

ModelingWindowPane Class

Microsoft.VisualStudio.Modeling.Shell Namespace