SiteMapNodeCollection::OnValidate Method (Object^)
.NET Framework (current version)
Performs additional custom processes when validating a value.
Assembly: System.Web (in System.Web.dll)
Parameters
- value
-
Type:
System::Object^
The SiteMapNode to validate.
| Exception | Condition |
|---|---|
| ArgumentNullException | value is null. |
| ArgumentException | value is not a SiteMapNode. |
Notes to Implementers:
The OnValidate method allows implementers to define processes that must be performed when executing the standard behavior of the underlying ArrayList object. By defining the OnValidate method, implementers can add functionality to inherited methods without having to override all other methods. Specifically, the OnValidate method is called anytime the SiteMapNodeCollection collection is used via a reference to an IList interface.
.NET Framework
Available since 2.0
Available since 2.0
Show: