Back to Devexpress

DataValidationCollection.Remove(DataValidation) Method

officefileapi-devexpress-dot-spreadsheet-dot-datavalidationcollection-dot-remove-x28-devexpress-dot-spreadsheet-dot-datavalidation-x29.md

latest1.9 KB
Original Source

DataValidationCollection.Remove(DataValidation) Method

Removes the specified item from the collection.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
bool Remove(
    DataValidation item
)
vb
Function Remove(
    item As DataValidation
) As Boolean

Parameters

NameTypeDescription
itemDataValidation

A DataValidation object to remove.

|

Returns

TypeDescription
Boolean

True , if the specified item has been found and successfully removed; otherwise, false.

|

Remarks

To remove the DataValidation object at the specified index, use the DataValidationCollection.RemoveAt method. To remove all data validations from the worksheet, use the DataValidationCollection.Clear method.

See Also

DataValidationCollection Interface

DataValidationCollection Members

DevExpress.Spreadsheet Namespace