سؤال

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

لا يوجد حل صحيح

نصائح أخرى

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top