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

適用於

另請參閱