ListControlDesigner.GetSelectedDataSource Método
Definição
Obtém o componente da fonte de dados do contêiner de controles associados.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
Retornos
Um objeto que implementa uma interface IEnumerable e que contém o tempo de design DataSource do controle associado.An object implementing an IEnumerable interface and containing the design-time DataSource of the associated control.
Implementações
Comentários
O GetSelectedDataSource método retornará null se uma DataSource propriedade não for encontrada ou se uma DataSource com o mesmo nome não existir.The GetSelectedDataSource method returns null if a DataSource property is not found, or if a DataSource with the same name does not exist.