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:
property ProfileInfo^ default[
	String^ name
] {
	ProfileInfo^ get(String^ name);
}

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: