Add Method
Collapse the table of content
Expand the table of content

DataSourceDescriptorCollection.Add Method (DataSourceDescriptor)


Adds a DataSourceDescriptor to the collection.

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

public int Add(
	DataSourceDescriptor value


Type: System.ComponentModel.Design.Data.DataSourceDescriptor

A DataSourceDescriptor to add to the collection.

Return Value

Type: System.Int32

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

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft