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指定用户名的对象。 如果在集合中找不到名称, null 则返回。

适用于

另请参阅