Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DirectoryControlCollection::OnValidate Method (Object^)

 

The OnValidate method verifies that value is a DirectoryControl object.

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

protected:
virtual void OnValidate(
	Object^ value
) override

Parameters

value
Type: System::Object^

The object to evaluate.

Exception Condition
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
Available since 2.0
Return to top
Show:
© 2017 Microsoft