DataSourceProviderService.InvokeAddNewDataSource 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.
When overridden in a derived class, invokes the Add New Data Source Wizard.
public:
abstract System::ComponentModel::Design::Data::DataSourceGroup ^ InvokeAddNewDataSource(System::Windows::Forms::IWin32Window ^ parentWindow, System::Windows::Forms::FormStartPosition startPosition);
public abstract System.ComponentModel.Design.Data.DataSourceGroup InvokeAddNewDataSource (System.Windows.Forms.IWin32Window parentWindow, System.Windows.Forms.FormStartPosition startPosition);
abstract member InvokeAddNewDataSource : System.Windows.Forms.IWin32Window * System.Windows.Forms.FormStartPosition -> System.ComponentModel.Design.Data.DataSourceGroup
Public MustOverride Function InvokeAddNewDataSource (parentWindow As IWin32Window, startPosition As FormStartPosition) As DataSourceGroup
Parameters
- parentWindow
- IWin32Window
The parent window.
- startPosition
- FormStartPosition
The initial position of a form.
Returns
A DataSourceGroup collection of newly added data sources, or null
if no data sources are added.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.