ProfileInfoCollection.Item[String] ProfileInfoCollection.Item[String] ProfileInfoCollection.Item[String] ProfileInfoCollection.Item[String] Property

定义

获取集合中由指定的 ProfileInfo 引用的 UserName 对象。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

参数

name
String String String String

要从集合中检索的 UserName 对象的 ProfileInfoThe UserName of the ProfileInfo object to retrieve from the collection.

属性值

对应于指定用户名的 ProfileInfo 对象。A ProfileInfo object for the specified user name. 如果在集合中未找到该名称,则返回 nullIf name is not found in the collection, null is returned.

适用于

另请参阅