MembershipUserCollection::Clear Method ()
.NET Framework (current version)
Removes all membership user objects from the collection.
Assembly: System.Web.ApplicationServices (in System.Web.ApplicationServices.dll)
The following code example clears a MembershipUserCollection before replacing it with the results of the GetAllUsers method.
.NET Framework
Available since 2.0
Available since 2.0
Show: