CepObjectReadOnlyDictionary<T>.ICollection<KeyValuePair<String, T>>.Remove 方法

從中繼資料物件的集合中移除指定的項目。

命名空間:  Microsoft.ComplexEventProcessing
組件:  Microsoft.ComplexEventProcessing (在 Microsoft.ComplexEventProcessing.dll 中)

語法

'宣告
Private Function Remove ( _
    item As KeyValuePair(Of String, T) _
) As Boolean Implements ICollection(Of KeyValuePair(Of String, T)).Remove
'用途
Dim instance As CepObjectReadOnlyDictionary 
Dim item As KeyValuePair(Of String, T)
Dim returnValue As Boolean 

returnValue = CType(instance, ICollection(Of KeyValuePair(Of String, T))).Remove(item)
bool ICollection<KeyValuePair<string, T>>.Remove(
    KeyValuePair<string, T> item
)
private:
virtual bool Remove(
    KeyValuePair<String^, T> item
) sealed = ICollection<KeyValuePair<String^, T>>::Remove
private abstract Remove : 
        item:KeyValuePair<string, 'T> -> bool  
private override Remove : 
        item:KeyValuePair<string, 'T> -> bool
JScript 支援使用明確介面實作,但不支援新的宣告。

參數

傳回值

型別:System.Boolean
如果成功找到元素並將其移除則為 true,否則為 false。

實作

ICollection<T>.Remove(T)

請參閱

參考

CepObjectReadOnlyDictionary<T> 類別

Microsoft.ComplexEventProcessing 命名空間