DataConnectionProperties.ICollection<KeyValuePair<String, Object>>.Remove 方法

从当前中移除指定的属性设置连接属性。

命名空间:  Microsoft.VisualStudio.Data.Framework
程序集:  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 不支持显式接口实现。

参数

返回值

类型:System.Boolean
true ,如果成功移除属性; false,如果未找到属性。

实现

ICollection<T>.Remove(T)

备注

此方法提供 Remove 方法的实现。有关更多信息,请在 .NET Framework 选件类库参考 Remove 方法。

.NET Framework 安全性

请参见

参考

DataConnectionProperties 类

Microsoft.VisualStudio.Data.Framework 命名空间