Export (0) Print
Expand All

ForEachItem Class

Returns a ForEachItemValueEnumerator. This class cannot be inherited.


Namespace:  Microsoft.SqlServer.Dts.Runtime.Enumerators.Item
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public sealed class ForEachItem : DtsObject, 
	ICollection, IEnumerable

The ForEachItem type exposes the following members.

Public propertyCountGets an Integer that specifies the number of elements contained in the collection.
Public propertyIsSynchronizedGets a Boolean that indicates whether access to the collection is synchronized (thread-safe).
Public propertyItemReturns a ForEachItemValue object from the collection.
Public propertySyncRootGets an object that can be used to synchronize access to the collection.

Public methodAddAdds a new, empty ForEachItemValue object to the end of the collection.
Public methodContainsReturns a Boolean that indicates whether the items in the collection can be accessed by using indexing.
Public methodCopyToCopies the entire collection to a one-dimensional array, starting at the specified index of the target array.
Public methodEqualsDetermines whether two object instances are equal. (Inherited from DtsObject.)
Public methodGetEnumeratorReturns an enumerator for use in iterating over the ForEachItem collection.
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from DtsObject.)
Public methodGetType (Inherited from Object.)
Public methodRemoveRemoves a ForEachItem object from the collection.
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

© 2015 Microsoft