DataConnectionProperties.ICollection<KeyValuePair<String, Object>>.Remove Method
Removes the specified property from the current set of connection properties.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
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 does not support explicit interface implementations.
Parameters
- item
Type: System.Collections.Generic.KeyValuePair<String, Object>
The key for the element to be removed.
Return Value
Type: System.Boolean
true if property is removed successfully; false if the property is not found.
Implements
Remarks
This method provides an implementation of the Remove(KeyValuePair<String, Object>) method. For more information, see the Remove method in the .NET Framework class library.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.