Compartilhar via


Propriedade CollectionEnumerator

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 (em Microsoft.SqlServer.ManagedDTS.dll)

Sintaxe

'Declaração
Public Overridable Property CollectionEnumerator As Boolean
    Get
    Set
'Uso
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)

Valor da propriedade

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

Implementa

IDTSForEachEnumerator. . :: . .CollectionEnumerator

Comentários

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