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: ObjectThe 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
- 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.