Share via


ForEachEnumerator.CollectionEnumerator Property

Gets or sets Boolean that indicates if the foreach loop enumerator is enumerating collections of objects or enumerating collections of collections.

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntax

'Declaration
Public Overridable Property CollectionEnumerator As Boolean
public virtual bool CollectionEnumerator { get; set; }
public:
virtual property bool CollectionEnumerator {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_CollectionEnumerator ()

/** @property */
public void set_CollectionEnumerator (boolean value)
public function get CollectionEnumerator () : boolean

public function set CollectionEnumerator (value : boolean)

Property Value

A Boolean that indicates what the enumerator is iterating over.

Remarks

true if the enumerator is iterating over a collection of collections. false if the enumerator is iterating over a collection of objects.

Thread Safety

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ForEachEnumerator Class
ForEachEnumerator Members
Microsoft.SqlServer.Dts.Runtime Namespace