ActiveDirectorySubnetCollection::OnValidate Method (Object^)

 

Overrides the CollectionBase::OnValidate method.

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

protected:
virtual void OnValidate(
	Object^ value
) override

Parameters

value
Type: System::Object^

The element in this collection to validate.

Exception Condition
ArgumentException

value is not an ActiveDirectorySubnet object.

ArgumentNullException

value is null.

InvalidOperationException

The ActiveDirectorySubnet object has not yet been saved in the Active Directory Domain Services store.

.NET Framework
Available since 2.0
Return to top
Show: