测试一个指定的属性名称和值是否对都是当前的成员设置连接属性。
命名空间: 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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。