共用方式為


DialogContainerWithToolbar.SetSite Method

Sets the site for this window.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Sub SetSite ( _
    sp As IServiceProvider _
)
public void SetSite(
    IServiceProvider sp
)

Parameters

.NET Framework Security

See Also

Reference

DialogContainerWithToolbar Class

Microsoft.VisualStudio.Shell Namespace