MembershipUserCollection::GetEnumerator Method ()
.NET Framework (current version)
Gets an enumerator that can iterate through the membership user collection.
Assembly: System.Web.ApplicationServices (in System.Web.ApplicationServices.dll)
Return Value
Type: System.Collections::IEnumerator^An IEnumerator for the entire MembershipUserCollection.
Implements
IEnumerable::GetEnumerator()Enumerators only allow reading the data in the collection. Enumerators cannot be used to modify the underlying collection. For more information, see IEnumerator.
The following code example uses the IEnumerator returned from the GetEnumerator method to iterate through a MembershipUserCollection.
.NET Framework
Available since 2.0
Available since 2.0
Show: