共用方式為


ForEachItems 類別

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

繼承階層

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

命名空間:  Microsoft.SqlServer.Dts.Runtime.Enumerators.Item
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public NotInheritable Class ForEachItems _
    Inherits DtsObject _
    Implements ICollection, IEnumerable
'用途
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

ForEachItems 型別公開下列成員。

屬性

  名稱 說明
公用屬性 Count Gets an Integer that shows the number of ForEachItem objects in the ForEachItems collection.
公用屬性 IsSynchronized Returns a Boolean that indicates whether access to the ForEachItems collection is synchronized (thread-safe).
公用屬性 Item Returns a ForEachItem object from the collection.
公用屬性 SyncRoot Gets an object that can be used to synchronize access to the ForEachItems collection.

上層

方法

  名稱 說明
公用方法 Add Adds a new ForEachItem collection to the ForEachItems collection.
公用方法 Contains Returns a Boolean that indicates whether the items in the collection can be accessed by using indexing without causing an exception.
公用方法 CopyTo Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
公用方法 Equals Determines whether two object instances are equal. (繼承自 DtsObject。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetEnumerator Returns a managed IEnumerator to iterate over the ForEachItems collection.
公用方法 GetHashCode Returns the hash code for this instance. (繼承自 DtsObject。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 Remove Removes a ForEachItem collection from the ForEachItems collection.
公用方法 ToString (繼承自 Object。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。