DataGridViewSelectedCellCollection.IList.Remove(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements the Remove(Object) method. Always throws NotSupportedException.
virtual void System.Collections.IList.Remove(System::Object ^ value) = System::Collections::IList::Remove;
void IList.Remove (object value);
void IList.Remove (object? value);
abstract member System.Collections.IList.Remove : obj -> unit
override this.System.Collections.IList.Remove : obj -> unit
Sub Remove (value As Object) Implements IList.Remove
Parameters
- value
- Object
The object to be removed from the DataGridViewSelectedCellCollection.
Implements
Exceptions
Always thrown.
Remarks
You cannot change the DataGridViewSelectedCellCollection class directly. To remove a cell from the DataGridViewSelectedCellCollection, use the DataGridViewCell.Selected property.
This member is an explicit interface member implementation. It can be used only when the DataGridViewSelectedCellCollection instance is cast to an IList interface.
Applies to
See also
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour