ActiveDirectorySubnetCollection.OnValidate Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Overrides the CollectionBase.OnValidate method.

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

protected override void OnValidate(
	object value
)

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: