次の方法で共有


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

Implements

IObjectWithSite.SetSite(Object)

.NET Framework Security

See Also

Reference

ServiceProvider Class

Microsoft.VisualStudio.Shell Namespace