HttpRequestOptions.ICollection<KeyValuePair<String,Object>>.Remove Metode

Definisi

Menghapus kemunculan pertama objek tertentu dari ICollection<T>.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Remove(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> item) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>::Remove;
bool ICollection<KeyValuePair<string,object>>.Remove (System.Collections.Generic.KeyValuePair<string,object> item);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
Function Remove (item As KeyValuePair(Of String, Object)) As Boolean Implements ICollection(Of KeyValuePair(Of String, Object)).Remove

Parameter

item
KeyValuePair<String,Object>

Objek yang akan dihapus dari ICollection<T>.

Mengembalikan

true jika item berhasil dihapus dari ICollection<T>; jika tidak, false. Metode ini juga mengembalikan false jika item tidak ditemukan di aslinya ICollection<T>.

Penerapan

Keterangan

Anggota ini adalah implementasi anggota antarmuka eksplisit. Ini hanya dapat digunakan ketika instans dilemparkan HttpRequestOptions ke ICollection<T> antarmuka.

Berlaku untuk