共用方式為


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.