Skip to main content
Row

WorksheetDataBindingCollection.Remove(Object) Method

Removes the WorksheetDataBinding object associated with the specified data source from the collection.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

void Remove(
    object dataSource
)

Parameters

Name Type Description
dataSource Object

An object specifying the data source associated with the WorksheetDataBinding object to be removed.

Remarks

To remove the WorksheetDataBinding object at the specified index in the collection, use the WorksheetDataBindingCollection.RemoveAt method. To remove all WorksheetDataBinding objects from the collection at once, use the WorksheetDataBindingCollection.Clear method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Remove(Object) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also