ProfileInfoCollection.Item[String] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 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 則會回傳。