Domanda

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

Nessuna soluzione corretta

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top