Partager via


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

Return Value

Type: System.Boolean
true if property is removed successfully; false if the property is not found.

Implements

ICollection<T>.Remove(T)

Remarks

This method provides an implementation of the Remove method. For more information, see the Remove method in the .NET Framework class library.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data.Framework Namespace