ServiceProvider.IObjectWithSite.SetSite Method
Sets the site object to resolve services.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Private Sub SetSite ( _
pUnkSite As Object _
) Implements IObjectWithSite.SetSite
void IObjectWithSite.SetSite(
Object pUnkSite
)
Parameters
- pUnkSite
Type: System.Object
The site to be set.
Implements
IObjectWithSite.SetSite(Object)
.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.