Edit

Share via


DataSourceDescriptorCollection.Add(DataSourceDescriptor) Method

Definition

Adds a DataSourceDescriptor to the collection.

public:
 int Add(System::ComponentModel::Design::Data::DataSourceDescriptor ^ value);
public int Add (System.ComponentModel.Design.Data.DataSourceDescriptor value);
member this.Add : System.ComponentModel.Design.Data.DataSourceDescriptor -> int
Public Function Add (value As DataSourceDescriptor) As Integer

Parameters

value
DataSourceDescriptor

A DataSourceDescriptor to add to the collection.

Returns

The index of the DataSourceDescriptor that was added to the collection.

Applies to