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
'Déclaration
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.