FormsAuthenticationUserCollection.Add(FormsAuthenticationUser) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将对象 FormsAuthenticationUser 添加到集合。
public:
void Add(System::Web::Configuration::FormsAuthenticationUser ^ user);
public void Add(System.Web.Configuration.FormsAuthenticationUser user);
member this.Add : System.Web.Configuration.FormsAuthenticationUser -> unit
Public Sub Add (user As FormsAuthenticationUser)
参数
FormsAuthenticationUser要添加到集合的对象。
例外
该 FormsAuthenticationUser 对象已存在于集合中,或集合为只读。
注解
集合不能包含同名 FormsAuthenticationUser 的对象。