Επεξεργασία

Κοινή χρήση μέσω


ProfileInfoCollection.Item[String] Property

Definition

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

public:
 property System::Web::Profile::ProfileInfo ^ default[System::String ^] { System::Web::Profile::ProfileInfo ^ get(System::String ^ name); };
public System.Web.Profile.ProfileInfo this[string name] { get; }
member this.Item(string) : System.Web.Profile.ProfileInfo
Default Public ReadOnly Property Item(name As String) As ProfileInfo

Parameters

name
String

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

Property Value

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

Applies to

See also