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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。