ForEachEnumerator.CollectionEnumerator Property

Definition

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

public:
 virtual property bool CollectionEnumerator { bool get(); void set(bool value); };
public virtual bool CollectionEnumerator { get; set; }
member this.CollectionEnumerator : bool with get, set
Public Overridable Property CollectionEnumerator As Boolean

Property Value

A Boolean that indicates what the enumerator is iterating over.

Implements

Remarks

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

Applies to