FormsAuthenticationUserCollection.Get 方法

定义

获取指定的 FormsAuthenticationUser 集合元素。

重载

名称 说明
Get(String)

FormsAuthenticationUser获取具有指定名称的集合元素。

Get(Int32)

获取 FormsAuthenticationUser 指定索引处的集合元素。

Get(String)

FormsAuthenticationUser获取具有指定名称的集合元素。

public:
 System::Web::Configuration::FormsAuthenticationUser ^ Get(System::String ^ name);
public System.Web.Configuration.FormsAuthenticationUser Get(string name);
member this.Get : string -> System.Web.Configuration.FormsAuthenticationUser
Public Function Get (name As String) As FormsAuthenticationUser

参数

name
String

用户的名称。

返回

FormsAuthenticationUser包含用户名和密码的对象。

适用于

Get(Int32)

获取 FormsAuthenticationUser 指定索引处的集合元素。

public:
 System::Web::Configuration::FormsAuthenticationUser ^ Get(int index);
public System.Web.Configuration.FormsAuthenticationUser Get(int index);
member this.Get : int -> System.Web.Configuration.FormsAuthenticationUser
Public Function Get (index As Integer) As FormsAuthenticationUser

参数

index
Int32

集合用户的索引。

返回

包含用户名和密码的 A FormsAuthenticationUser

适用于