DataSourceProviderService.InvokeConfigureDataSource(IWin32Window, FormStartPosition, DataSourceDescriptor) DataSourceProviderService.InvokeConfigureDataSource(IWin32Window, FormStartPosition, DataSourceDescriptor) DataSourceProviderService.InvokeConfigureDataSource(IWin32Window, FormStartPosition, DataSourceDescriptor) Method

Definizione

Se sottoposto a override in una classe derivata, richiama la finestra di dialogo Configura origine dati sull'origine dati specificata.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

Parametri

parentWindow
IWin32Window IWin32Window IWin32Window

Finestra padre.The parent window.

startPosition
FormStartPosition FormStartPosition FormStartPosition

Posizione iniziale di un form.The initial position of a form.

dataSourceDescriptor
DataSourceDescriptor DataSourceDescriptor DataSourceDescriptor

Origine dati.The data source.

Restituisce

true se sono state apportate modifiche all'origine dati; in caso contrario, false.true if any changes were made to that data source; otherwise, false.

Eccezioni

L'origine dati specificata non è valida o è null.The specified data source is invalid or null.

Si applica a