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.

PSDataCollection<T> Methods

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

NameDescription
System_CAPS_pubmethodAdd(T)

Adds an object to the buffer. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodClear()

Removes all objects from the buffer. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodComplete()

Completes the process of adding content to the collection. This method must be called before the collection can be used to invoke a pipeline asynchronously. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodContains(T)

Determines whether the specified object is in the buffer. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodCopyTo(T[], Int32)

Copies the contents of the buffer to an array, starting at the specified location. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodDispose()

Releases the resources that are used by the PSDataCollection<T> object. This method is introduced in Windows PowerShell 2.0.

System_CAPS_protmethodDispose(Boolean)

Releases the resources that are used by the PSDataCollection<T> object. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Retrieves an enumerator that can iterate through the objects in the buffer. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

Populates an object with the data needed to serialize the PSDataCollection<T>. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(T)

Determines the index of the specified object in the buffer. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodInsert(Int32, T)

Inserts an object at the specified location. This method is introduced in Windows PowerShell 2.0.

System_CAPS_protmethodInsertItem(Guid, Int32, T)

Inserts an object into the buffer at the specified location. This method is introduced in Windows PowerShell 2.0.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodReadAll()

Makes a shallow copy of items in the current collection and then clears the current collection. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodRemove(T)

Removes the first occurrence of the specified object from the buffer. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the object at the specified location. This method is introduced in Windows PowerShell 2.0.

System_CAPS_protmethodRemoveItem(Int32)

Removes the object at the specified location. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

Copies the elements of the collection to a specified array, starting at a specified index. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Retrieves the IEnumerator interface that can be used to access the objects of the collection. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Add(Object)

Appends an object to the collection. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Contains(Object)

Determines whether an object exists in the collection. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.IndexOf(Object)

Retrieves the location of an object in the collection. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Insert(Int32, Object)

Places an object at a specific location in the collection. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Remove(Object)

Deletes the first occurrence of an object from the collection. This method is introduced in Windows PowerShell 2.0.

Return to top

Community Additions

Show: