public WorksheetReferenceCollection this[ DataValidationRule rule ]; {get; set;}
| Exception | Description |
|---|---|
| System.ArgumentNullException | Occurs when the rule is null. |
| System.Collections.Generic.KeyNotFoundException | Occurs when the property is retrieved and the rule is not applied to the Worksheet. |
| System.ArgumentException | Occurs when the property is set and the value is from a Worksheet other than this collection. |
| System.ArgumentException | Occurs when the property is set and the rule is invalid based on its rule type's requirements. |
Target Platforms: Android 4.4+, iOS 8+
Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+