ProfileInfoCollection.Item Property (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the ProfileInfo object in the collection, referenced by the specified UserName.

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

public ProfileInfo this[
	string name
] { get; }


Type: System.String

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

Property Value

Type: System.Web.Profile.ProfileInfo

A ProfileInfo object for the specified user name. If name is not found in the collection, null is returned.

.NET Framework
Available since 2.0
Return to top