Dela 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
    Get
    Set
'Usage
Dim instance As ForEachEnumerator
Dim value As Boolean

value = instance.CollectionEnumerator

instance.CollectionEnumerator = value
public virtual bool CollectionEnumerator { get; set; }
public:
virtual property bool CollectionEnumerator {
    bool get ();
    void set (bool value);
}
abstract CollectionEnumerator : bool with get, set
override CollectionEnumerator : bool with get, set
function get CollectionEnumerator () : boolean
function set CollectionEnumerator (value : boolean)

Property Value

Type: System.Boolean
A Boolean that indicates what the enumerator is iterating over.

Implements

IDTSForEachEnumerator.CollectionEnumerator

Remarks

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