Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes the window pane in the environment.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.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: System.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
- 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.