ProfileInfoCollection.Item[String] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.