Compartir a través de


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

'Declaración
Public ReadOnly Property Control As UserControl
    Get
public UserControl Control { get; }
public:
virtual property UserControl^ Control {
    UserControl^ get () sealed;
}
abstract Control : UserControl
override Control : UserControl
final function get Control () : UserControl

Property Value

Type: System.Windows.Forms.UserControl
A UserControl object.

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