共用方式為


DataConnectionUIControl.Control 屬性

取得目前使用者控制項做為 UserControl 物件。

命名空間:  Microsoft.VisualStudio.Data.Framework
組件:  Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)

語法

'宣告
Public ReadOnly Property Control As UserControl
public UserControl Control { get; }
public:
virtual property UserControl^ Control {
    UserControl^ get () sealed;
}
abstract Control : UserControl with get 
override Control : UserControl with get
final function get Control () : UserControl

屬性值

類型:UserControl
UserControl 物件。

實作

IVsDataConnectionUIControl.Control

備註

這個屬性會傳回目前的物件。 具有 DDEX 提供者要從目前的物件 UserControl 分隔 IVsDataConnectionUIControl 實作,實作 UI 的案例。 在這種情況下, DDEX 提供者應該直接從 IVsDataConnectionUIControl 介面繼承而不是這個類別。

.NET Framework 安全性

請參閱

參考

DataConnectionUIControl 類別

Microsoft.VisualStudio.Data.Framework 命名空間