ProfilePropertySettingsCollection.Set(ProfilePropertySettings) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Lägger till det angivna ProfilePropertySettings objektet i samlingen.
public:
void Set(System::Web::Configuration::ProfilePropertySettings ^ propertySettings);
public void Set(System.Web.Configuration.ProfilePropertySettings propertySettings);
member this.Set : System.Web.Configuration.ProfilePropertySettings -> unit
Public Sub Set (propertySettings As ProfilePropertySettings)
Parametrar
- propertySettings
- ProfilePropertySettings
Ett ProfilePropertySettings objekt.
Undantag
Objektet ProfilePropertySettings som ska läggas till finns redan i samlingen, eller så är samlingen skrivskyddad.
Kommentarer
Att anropa den här metoden har samma effekt som att anropa Add metoden.