ForEachEnumerator.CollectionEnumerator Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.