Share via


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

'Declaration
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

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.

.NET Framework Security

See Also

Reference

DataConnectionUIControl Class

Microsoft.VisualStudio.Data.Framework Namespace