Frage

I want to remove a line or a text from my application settings . example: My.Settings.Bookmarks. here is information in my settings of Bookmarks: Name: Bookmarks | Type: System.Collections.Specialized.StringCollection | Scope: User. Can anyone help me please because it's important

Keine korrekte Lösung

Andere Tipps

Here from MSDN

StringCollection.Remove
StringCollection.RemoveAt

The first one requires the string to remove, the second one the index of the string in the collection.

Suppose to have

StringCollection sCol = new StringCollection();
sCol.Add("STEVE");
sCol.Add("JOHN");
sCol.Remove("STEVE");

Really simple

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top