Share via


ForEachItem Class

Definition

Returns a ForEachItemValueEnumerator. This class cannot be inherited.

public ref class ForEachItem sealed : Microsoft::SqlServer::Dts::Runtime::DtsObject, System::Collections::ICollection
public sealed class ForEachItem : Microsoft.SqlServer.Dts.Runtime.DtsObject, System.Collections.ICollection
type ForEachItem = class
    inherit DtsObject
    interface ICollection
    interface IEnumerable
Public NotInheritable Class ForEachItem
Inherits DtsObject
Implements ICollection
Inheritance
ForEachItem
Implements

Properties

Count

Gets an Integer that specifies the number of elements contained in the collection.

IsSynchronized

Gets a Boolean that indicates whether access to the collection is synchronized (thread-safe).

Item[Object]

Returns a ForEachItemValue object from the collection.

SyncRoot

Gets an object that can be used to synchronize access to the collection.

Methods

Add()

Adds a new, empty ForEachItemValue object to the end of the collection.

Contains(Object)

Returns a Boolean that indicates whether the items in the collection can be accessed by using indexing.

CopyTo(Array, Int32)

Copies the entire collection to a one-dimensional array, starting at the specified index of the target array.

Equals(Object)

Determines whether two object instances are equal.

(Inherited from DtsObject)
GetEnumerator()

Returns an enumerator for use in iterating over the ForEachItem collection.

GetHashCode()

Returns the hash code for this instance.

(Inherited from DtsObject)
Remove(Object)

Removes a ForEachItem object from the collection.

Applies to