DataValidationCollection Members
In This Article
#Properties
Name | Description |
---|---|
Count | Gets the number of elements contained in the ICollection. Inherited from ICollection. |
Is |
Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection. |
Sync |
Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection. |
#Methods
Name | Description |
---|---|
Add |
Creates a new data validation entry and adds it to the document’s collection. |
Add |
Creates a new data validation entry and adds it to the document’s collection. |
Add |
Creates a new data validation entry and adds it to the document’s collection. |
Clear() | Removes all entries from the collection. |
Clear |
Removes data validation criteria from the specified cell range. |
Contains |
Indicates whether the collection contains the specified item. |
Copy |
Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection. |
Get |
Obtains a data validation entry for the specified cell. |
Get |
Obtains data validation entries for cells in the specified range. |
Get |
Obtains data validation entries with the specified properties. |
Get |
Returns an enumerator that iterates through the collection.
Inherited from IEnumerable |
Get |
Returns cells that do not meet the data validation criteria. |
Index |
Returns the zero-based index of the specified element in the collection. |
Remove |
Removes the specified item from the collection. |
Remove |
Removes the data validation item at the specified index from the collection. |
Validate |
Validates the specified value before assigning it to the specified cell. |
Validate |
Validates the specified cell value. |
See Also