共用方式為


DataSourceProviderService.AddDataSourceInstance 方法

定義

public:
 abstract System::Object ^ AddDataSourceInstance(System::ComponentModel::Design::IDesignerHost ^ host, System::ComponentModel::Design::DataSourceDescriptor ^ dataSourceDescriptor);
public abstract object AddDataSourceInstance (System.ComponentModel.Design.IDesignerHost host, System.ComponentModel.Design.DataSourceDescriptor dataSourceDescriptor);
abstract member AddDataSourceInstance : System.ComponentModel.Design.IDesignerHost * System.ComponentModel.Design.DataSourceDescriptor -> obj
Public MustOverride Function AddDataSourceInstance (host As IDesignerHost, dataSourceDescriptor As DataSourceDescriptor) As Object

參數

dataSourceDescriptor
DataSourceDescriptor

傳回

適用於