ProfileInfoCollection.Remove Method (String)

 

Removes the ProfileInfo object with the specified user name from the collection.

Namespace:   System.Web.Profile
Assembly:  System.Web (in System.Web.dll)

public void Remove(
	string name
)

Parameters

name
Type: System.String

The UserName of the ProfileInfo object to remove from the collection.

Exception Condition
System.NotSupportedException

The collection is read-only.

.NET Framework
Available since 2.0
Return to top
Show: