DataSourceDescriptorCollection.Add Method (DataSourceDescriptor)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Adds a DataSourceDescriptor to the collection.

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

public int Add(
	DataSourceDescriptor value
)

Parameters

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
Show: