Share via


ForEachItem Class

Returns a ForEachItemValueEnumerator. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.Enumerators.Item.ForEachItem

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

Syntax

'Declaration
Public NotInheritable Class ForEachItem _
    Inherits DtsObject _
    Implements ICollection, IEnumerable
'Usage
Dim instance As ForEachItem
public sealed class ForEachItem : DtsObject, 
    ICollection, IEnumerable
public ref class ForEachItem sealed : public DtsObject, 
    ICollection, IEnumerable
[<SealedAttribute>]
type ForEachItem =  
    class 
        inherit DtsObject 
        interface ICollection 
        interface IEnumerable 
    end
public final class ForEachItem extends DtsObject implements ICollection, IEnumerable

The ForEachItem type exposes the following members.

Properties

  Name Description
Public property Count Gets an Integer that specifies the number of elements contained in the collection.
Public property IsSynchronized Gets a Boolean that indicates whether access to the collection is synchronized (thread-safe).
Public property Item Returns a ForEachItemValue object from the collection.
Public property SyncRoot Gets an object that can be used to synchronize access to the collection.

Top

Methods

  Name Description
Public method Add Adds a new, empty ForEachItemValue object to the end of the collection.
Public method Contains Returns a Boolean that indicates whether the items in the collection can be accessed by using indexing.
Public method CopyTo Copies the entire collection to a one-dimensional array, starting at the specified index of the target array.
Public method Equals Determines whether two object instances are equal. (Inherited from DtsObject.)
Public method GetEnumerator Returns an enumerator for use in iterating over the ForEachItem collection.
Public method GetHashCode Returns the hash code for this instance. (Inherited from DtsObject.)
Public method GetType (Inherited from Object.)
Public method Remove Removes a ForEachItem object from the collection.
Public method ToString (Inherited from Object.)

Top

Thread Safety

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

See Also

Reference

Microsoft.SqlServer.Dts.Runtime.Enumerators.Item Namespace