DataSourceProviderService.AddDataSourceInstance 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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
參數
- host
- IDesignerHost
- dataSourceDescriptor
- DataSourceDescriptor