ListControlDesigner.GetSelectedDataSource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the data source component from the associated control container.
public:
virtual System::Object ^ GetSelectedDataSource();
public:
System::Object ^ GetSelectedDataSource();
public object GetSelectedDataSource ();
abstract member GetSelectedDataSource : unit -> obj
override this.GetSelectedDataSource : unit -> obj
member this.GetSelectedDataSource : unit -> obj
Public Function GetSelectedDataSource () As Object
Returns
An object implementing an IEnumerable interface and containing the design-time DataSource of the associated control.
Implements
Remarks
The GetSelectedDataSource method returns null
if a DataSource property is not found, or if a DataSource with the same name does not exist.
Applies to
See also
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.