Język

FormsAuthenticationUserCollection.Add(FormsAuthenticationUser) Metoda

Definicja

FormsAuthenticationUser Dodaje obiekt do kolekcji.

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)

Parametry

user
FormsAuthenticationUser

Obiekt FormsAuthenticationUser , który ma zostać dodany do kolekcji.

Wyjątki

Obiekt FormsAuthenticationUser już istnieje w kolekcji lub kolekcja jest tylko do odczytu.

Uwagi

Kolekcja nie może zawierać FormsAuthenticationUser obiektu o tej samej nazwie.

Dotyczy