Condividi tramite


Classe ForEachItem

Returns a ForEachItemValueEnumerator. This class cannot be inherited.

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime.Enumerators.Item
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class ForEachItem _
    Inherits DtsObject _
    Implements ICollection, IEnumerable
'Utilizzo
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

Nel tipo ForEachItem sono esposti i membri seguenti.

Proprietà

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

In alto

Metodi

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

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.