DataSourceProviderService Class

 

Implements the basic functionality required of a service for providing access to a data source at the EnvDTE.Project level.

Namespace:   System.ComponentModel.Design.Data
Assembly:  System.Design (in System.Design.dll)

System::Object
  System.ComponentModel.Design.Data::DataSourceProviderService

[GuidAttribute("ABE5C1F0-C96E-40c4-A22D-4A5CEC899BDC")]
public ref class DataSourceProviderService abstract 

NameDescription
System_CAPS_protmethodDataSourceProviderService()

Initializes a new instance of the DataSourceProviderService class.

NameDescription
System_CAPS_pubpropertySupportsAddNewDataSource

When overridden in a derived class, gets the value indicating whether the service supports adding a new data source using InvokeAddNewDataSource.

System_CAPS_pubpropertySupportsConfigureDataSource

When overridden in a derived class, gets the value indicating whether the service supports configuring data sources using InvokeConfigureDataSource.

NameDescription
System_CAPS_pubmethodAddDataSourceInstance(IDesignerHost^, DataSourceDescriptor^)

When overridden in a derived class, creates and returns an instance of the given data source, and adds it to the design surface.

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetDataSources()

When overridden in a derived class, retrieves the collection of data sources at the EnvDTE.Project level.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInvokeAddNewDataSource(IWin32Window^, FormStartPosition)

When overridden in a derived class, invokes the Add New Data Source Wizard.

System_CAPS_pubmethodInvokeConfigureDataSource(IWin32Window^, FormStartPosition, DataSourceDescriptor^)

When overridden in a derived class, invokes the Configure Data Source dialog box on the specified data source.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodNotifyDataSourceComponentAdded(Object^)

When overridden in a derived class, notifies the service that a component representing a data source was added to the design surface.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: