Partager via


DataConnectionProperties.ICollection<KeyValuePair<String, Object>>.Add Method

Adds an element as a key/value pair to 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 Sub Add ( _
    item As KeyValuePair(Of String, Object) _
) Implements ICollection(Of KeyValuePair(Of String, Object)).Add
void ICollection<KeyValuePair<string, Object>>.Add(
    KeyValuePair<string, Object> item
)
private:
virtual void Add(
    KeyValuePair<String^, Object^> item
) sealed = ICollection<KeyValuePair<String^, Object^>>::Add
private abstract Add : 
        item:KeyValuePair<string, Object> -> unit  
private override Add : 
        item:KeyValuePair<string, Object> -> unit
JScript does not support explicit interface implementations.

Parameters

Implements

ICollection<T>.Add(T)

Remarks

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

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data.Framework Namespace