DataConnectionUIControl.Control Property

Gets the current user control as a UserControl object.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

Public ReadOnly Property Control As UserControl

Dim instance As DataConnectionUIControl
Dim value As UserControl

value = instance.Control
public UserControl Control { get; }
public:
virtual property UserControl^ Control {
    UserControl^ get () sealed;
}
public final function get Control () : UserControl

Property Value

Type: System.Windows.Forms.UserControl

A UserControl object.

Implements

IVsDataConnectionUIControl.Control

Remarks

This property simply returns the current object. There are scenarios in which the DDEX provider wants to separate the IVsDataConnectionUIControl implementation from the current UserControl object, which implements the UI. In this case, the DDEX provider should inherit directly from the IVsDataConnectionUIControl interface rather than this class.

Permissions

See Also

Reference

DataConnectionUIControl Class

DataConnectionUIControl Members

Microsoft.VisualStudio.Data.Framework Namespace