Question

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

Pas de solution correcte

Autres conseils

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top