ProfileInfoCollection.Item Property (String)

 

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

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

Public ReadOnly Property Item (
	name As String
) As ProfileInfo

Parameters

name
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
Show: