FormsAuthenticationUserCollection.Item[] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
獲得指定的 FormsAuthenticationUser 收藏品。
多載
| 名稱 | Description |
|---|---|
| Item[Int32] |
在指定的索引處得到 。FormsAuthenticationUser |
| Item[String] |
得到指定名稱的 。FormsAuthenticationUser |
Item[Int32]
在指定的索引處得到 。FormsAuthenticationUser
public:
property System::Web::Configuration::FormsAuthenticationUser ^ default[int] { System::Web::Configuration::FormsAuthenticationUser ^ get(int index); void set(int index, System::Web::Configuration::FormsAuthenticationUser ^ value); };
public System.Web.Configuration.FormsAuthenticationUser this[int index] { get; set; }
member this.Item(int) : System.Web.Configuration.FormsAuthenticationUser with get, set
Default Public Property Item(index As Integer) As FormsAuthenticationUser
參數
- index
- Int32
收藏用戶索引。
屬性值
FormsAuthenticationUser A 裡面包含使用者名稱和密碼。
適用於
Item[String]
得到指定名稱的 。FormsAuthenticationUser
public:
property System::Web::Configuration::FormsAuthenticationUser ^ default[System::String ^] { System::Web::Configuration::FormsAuthenticationUser ^ get(System::String ^ name); };
public System.Web.Configuration.FormsAuthenticationUser this[string name] { get; }
member this.Item(string) : System.Web.Configuration.FormsAuthenticationUser
Default Public ReadOnly Property Item(name As String) As FormsAuthenticationUser
參數
- name
- String
使用者的名字。
屬性值
一個 FormsAuthenticationUser 包含使用者名稱和密碼的物件。