Share via


PSDataCollection<T>.IList.Remove(Object) Method

Definition

Removes the first occurrence of a specified object as an element from the buffer.

 virtual void System.Collections.IList.Remove(System::Object ^ value) = System::Collections::IList::Remove;
 virtual void System.Collections.IList.Remove(Platform::Object ^ value) = System::Collections::IList::Remove;
void System.Collections.IList.Remove(winrt::Windows::Foundation::IInspectable const & 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 buffer.

Implements

Exceptions

value reference is null. (or) value is not of the correct generic type T for the buffer.

Applies to