Share via


ForEachItems Class

Contains a collection of ForEachItem collections. This class cannot be inherited.

Inheritance Hierarchy

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

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

Syntax

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

The ForEachItems type exposes the following members.

Properties

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

Top

Methods

  Name Description
Public method Add Adds a new ForEachItem collection to the ForEachItems collection.
Public method Contains Returns a Boolean that indicates whether the items in the collection can be accessed by using indexing without causing an exception.
Public method CopyTo Copies the entire collection to a compatible 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 a managed IEnumerator to iterate over the ForEachItems 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 collection from the ForEachItems 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