Pregunta

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

No hay solución correcta

Otros consejos

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top