DirectoryServerCollection Methods

The DirectoryServerCollection type exposes the following members.

  NameDescription
Public method Add Appends the specified DirectoryServer object to this collection.
Public method AddRange Appends the contents of the specified DirectoryServer array to this collection.
Public method Clear Removes all objects from the CollectionBase instance. This method cannot be overridden. (Inherited from CollectionBase.)
Public method Contains Determines if the specified DirectoryServer object is in this collection.
Public method CopyTo Copies all DirectoryServer objects in this collection to the specified array, starting at the specified index of the target array.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that iterates through the CollectionBase instance. (Inherited from CollectionBase.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method IndexOf Returns the index of the first occurrence of the specified DirectoryServer object in this array.
Public method Insert Inserts the specified DirectoryServer object into this collection at the specified index.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnClear Overrides the CollectionBase.OnClearComplete method. (Overrides CollectionBase.OnClear().)
Protected method OnClearComplete Overrides the CollectionBase.OnClearComplete method. (Overrides CollectionBase.OnClearComplete().)
Protected method OnInsert Performs additional custom processes before inserting a new element into the CollectionBase instance. (Inherited from CollectionBase.)
Protected method OnInsertComplete Overrides the CollectionBase.OnClearComplete method. (Overrides CollectionBase.OnInsertComplete(Int32, Object).)
Protected method OnRemove Performs additional custom processes when removing an element from the CollectionBase instance. (Inherited from CollectionBase.)
Protected method OnRemoveComplete Overrides the CollectionBase.OnRemoveComplete method. (Overrides CollectionBase.OnRemoveComplete(Int32, Object).)
Protected method OnSet Performs additional custom processes before setting a value in the CollectionBase instance. (Inherited from CollectionBase.)
Protected method OnSetComplete Overrides the CollectionBase.OnSetComplete method. (Overrides CollectionBase.OnSetComplete(Int32, Object, Object).)
Protected method OnValidate Overrides the CollectionBase.OnValidate method. (Overrides CollectionBase.OnValidate(Object).)
Public method Remove Removes the first occurrence of an object in this collection that is identical to the specified DirectoryServer object.
Public method RemoveAt Removes the element at the specified index of the CollectionBase instance. This method is not overridable. (Inherited from CollectionBase.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetation Private method IList.Add Adds an object to the end of the CollectionBase. (Inherited from CollectionBase.)
Explicit interface implemetation Private method IList.Contains Determines whether the CollectionBase contains a specific element. (Inherited from CollectionBase.)
Explicit interface implemetation Private method ICollection.CopyTo Copies the entire CollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionBase.)
Explicit interface implemetation Private method IList.IndexOf Searches for the specified Object and returns the zero-based index of the first occurrence within the entire CollectionBase. (Inherited from CollectionBase.)
Explicit interface implemetation Private method IList.Insert Inserts an element into the CollectionBase at the specified index. (Inherited from CollectionBase.)
Explicit interface implemetation Private method IList.Remove Removes the first occurrence of a specific object from the CollectionBase. (Inherited from CollectionBase.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft