次の方法で共有


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 (in Microsoft.VisualStudio.Shell.dll)

Syntax

'宣言
Public Overrides Property Site As ISite
'使用
Dim instance As DialogPage
Dim value As ISite

value = instance.Site

instance.Site = value
public override ISite Site { get; set; }
public:
virtual property ISite^ Site {
    ISite^ get () override;
    void set (ISite^ value) override;
}
public override function get Site () : ISite
public override function set Site (value : ISite)

Property Value

Type: System.ComponentModel.ISite

ISite.

Implements

IComponent.Site

Permissions

See Also

Concepts

Command-Line Switches (Visual Studio SDK)

Tools Options Pages

Toolbox (Visual Studio SDK)

State Persistence and the Visual Studio IDE

Reference

DialogPage Class

DialogPage Members

Microsoft.VisualStudio.Shell Namespace

Component

DialogPage