AdoDotNetConnectionProperties.ICollection<KeyValuePair<String, Object>>.Remove 方法
測試其中一個指定的屬性名稱和值是否為目前的成員連接屬性。
命名空間: Microsoft.VisualStudio.Data.Framework.AdoDotNet
組件: Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)
語法
'宣告
Private Function Remove ( _
item As KeyValuePair(Of String, Object) _
) As Boolean Implements ICollection(Of KeyValuePair(Of String, Object)).Remove
bool ICollection<KeyValuePair<string, Object>>.Remove(
KeyValuePair<string, Object> item
)
private:
virtual bool Remove(
KeyValuePair<String^, Object^> item
) sealed = ICollection<KeyValuePair<String^, Object^>>::Remove
private abstract Remove :
item:KeyValuePair<string, Object> -> bool
private override Remove :
item:KeyValuePair<string, Object> -> bool
JScript 不支援明確介面實作。
參數
- item
型別:System.Collections.Generic.KeyValuePair<String, Object>
存在於正在測試的屬性和值。
傳回值
型別:System.Boolean
true ,如果指定的屬性已連接屬性集合的成員,否則 false。
實作
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。