共用方式為


DialogPage.Site Property

This member overrides Component.Site, and more complete documentation might be available in that topic.

Gets or sets the site of the dialog page. Overrides the implementation inherited from Component.

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

Syntax

'Declaration
Public Overrides Property Site As ISite
public override ISite Site { get; set; }
public:
virtual property ISite^ Site {
    ISite^ get () override;
    void set (ISite^ value) override;
}
abstract Site : ISite with get, set 
override Site : ISite with get, set
override function get Site () : ISite 
override function set Site (value : ISite)

Property Value

Type: ISite
ISite.

Implements

IComponent.Site

.NET Framework Security

See Also

Reference

DialogPage Class

Microsoft.VisualStudio.Shell Namespace

Component

DialogPage

Other Resources

Command-Line Switches (Visual Studio SDK)

Options Pages

Toolbox (Visual Studio SDK)

State Persistence and the Visual Studio IDE