DirectoryAttributeModificationCollection.OnValidate Method (Object)

 

The OnValidate method verifies that value is a DirectoryAttributeModification 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.

Exception

Condition

ArgumentException

value is a null reference (Nothing in Visual Basic), or value is not a DirectoryAttributeModification object.

.NET Framework
Available since 2.0
Return to top
Show: