Share via


AutoCompleteTextBox.DataSource Property

Gets or sets the data source for this text box.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Public Property DataSource As Object
    Get
    Set
'Usage
Dim instance As AutoCompleteTextBox
Dim value As Object

value = instance.DataSource

instance.DataSource = value
public Object DataSource { get; set; }
public:
property Object^ DataSource {
    Object^ get ();
    void set (Object^ value);
}
member DataSource : Object with get, set
function get DataSource () : Object
function set DataSource (value : Object)

Property Value

Type: System.Object
An IEnumerable object that contains the data for the text box.