語言

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

從集合中擷取的物件。UserNameProfileInfo

屬性值

一個 ProfileInfo 指定使用者名稱的物件。 若在集合中找不到 名稱, null 則會回傳。

適用於

另請參閱