Share via


ModelingWindowPane.SetSite Method

Initializes the window pane in the environment.

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 SetSite ( _
    sp As Object _
)
public void SetSite(
    Object sp
)
public:
virtual void SetSite(
    Object^ sp
) sealed
abstract SetSite : 
        sp:Object -> unit  
override SetSite : 
        sp:Object -> unit
public final function SetSite(
    sp : Object
)

Parameters

  • sp
    Type: Object

    The IServiceProvider interface, which can obtain other interfaces.

Implements

IObjectWithSite.SetSite(Object)

Remarks

This method is implemented as part of the IObjectWithSite interface.

.NET Framework Security

See Also

Reference

ModelingWindowPane Class

Microsoft.VisualStudio.Modeling.Shell Namespace