DirectoryServerCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The DirectoryServerCollection class is a read/write collection that contains DirectoryServer objects.
public ref class DirectoryServerCollection : System::Collections::CollectionBase
public class DirectoryServerCollection : System.Collections.CollectionBase
type DirectoryServerCollection = class
inherit CollectionBase
Public Class DirectoryServerCollection
Inherits CollectionBase
- Inheritance
Properties
| Name | Description |
|---|---|
| Item[Int32] |
Gets or sets a DirectoryServer object in this collection. |
Methods
| Name | Description |
|---|---|
| Add(DirectoryServer) |
Appends the specified DirectoryServer object to this collection. |
| AddRange(DirectoryServer[]) |
Appends the contents of the specified DirectoryServer array to this collection. |
| Contains(DirectoryServer) |
Determines if the specified DirectoryServer object is in this collection. |
| CopyTo(DirectoryServer[], Int32) |
Copies all DirectoryServer objects in this collection to the specified array, starting at the specified index of the target array. |
| IndexOf(DirectoryServer) |
Returns the index of the first occurrence of the specified DirectoryServer object in this array. |
| Insert(Int32, DirectoryServer) |
Inserts the specified DirectoryServer object into this collection at the specified index. |
| OnClear() |
Overrides the OnClearComplete() method. |
| OnClearComplete() |
Overrides the OnClearComplete() method. |
| OnInsertComplete(Int32, Object) |
Overrides the OnClearComplete() method. |
| OnRemoveComplete(Int32, Object) |
Overrides the OnRemoveComplete(Int32, Object) method. |
| OnSetComplete(Int32, Object, Object) |
Overrides the OnSetComplete(Int32, Object, Object) method. |
| OnValidate(Object) |
Overrides the OnValidate(Object) method. |
| Remove(DirectoryServer) |
Removes the first occurrence of an object in this collection that is identical to the specified DirectoryServer object. |