Export (0) Print
Expand All

DirectoryControlCollection.OnValidate Method

The OnValidate method verifies that value is a DirectoryControl object.

Namespace:  System.DirectoryServices.Protocols
Assembly:  System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)

protected override void OnValidate(
	Object value
)

Parameters

value
Type: System.Object

The object to evaluate.

ExceptionCondition
ArgumentNullException

value is a null reference (Nothing in Visual Basic).

ArgumentException

value is not a DirectoryControl object.

This method does not return a value. Instead, an exception is thrown if the specified object is null or is not a valid DirectoryControl object.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft