Поделиться через


Свойство CollectionEnumerator

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

Пространство имен:  Microsoft.SqlServer.Dts.Runtime
Сборка:  Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)

Синтаксис

'Декларация
Public Overridable Property CollectionEnumerator As Boolean
    Get
    Set
'Применение
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)

Значение свойства

Тип: System. . :: . .Boolean
A Boolean that indicates what the enumerator is iterating over.

Реализует

IDTSForEachEnumerator. . :: . .CollectionEnumerator

Замечания

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