ProfileInfoCollection.Item[String] 属性

定义

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

要从集合中检索的 UserName 对象的 ProfileInfo

属性值

ProfileInfo

对应于指定用户名的 ProfileInfo 对象。 如果在集合中未找到该名称,则返回 null

适用于

另请参阅