DataSourceProviderService.InvokeConfigureDataSource(IWin32Window, FormStartPosition, DataSourceDescriptor) Método

Definição

Quando substituído em uma classe derivada, invoca a caixa de diálogo Configurar Fonte de Dados na fonte de dados especificada.When overridden in a derived class, invokes the Configure Data Source dialog box on the specified data source.

public:
 abstract bool InvokeConfigureDataSource(System::Windows::Forms::IWin32Window ^ parentWindow, System::Windows::Forms::FormStartPosition startPosition, System::ComponentModel::Design::Data::DataSourceDescriptor ^ dataSourceDescriptor);
public abstract bool InvokeConfigureDataSource (System.Windows.Forms.IWin32Window parentWindow, System.Windows.Forms.FormStartPosition startPosition, System.ComponentModel.Design.Data.DataSourceDescriptor dataSourceDescriptor);
abstract member InvokeConfigureDataSource : System.Windows.Forms.IWin32Window * System.Windows.Forms.FormStartPosition * System.ComponentModel.Design.Data.DataSourceDescriptor -> bool
Public MustOverride Function InvokeConfigureDataSource (parentWindow As IWin32Window, startPosition As FormStartPosition, dataSourceDescriptor As DataSourceDescriptor) As Boolean

Parâmetros

parentWindow
IWin32Window

A janela pai.The parent window.

startPosition
FormStartPosition

A posição inicial de um formulário.The initial position of a form.

dataSourceDescriptor
DataSourceDescriptor

A fonte de dados.The data source.

Retornos

Boolean

true se foram feitas alterações à fonte de dados; caso contrário, false.true if any changes were made to that data source; otherwise, false.

Exceções

A fonte de dados especificada é inválida ou null.The specified data source is invalid or null.

Aplica-se a