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
item
Type: System.Collections.Generic.KeyValuePair<String, Object>The key/value pair to add to the dictionary.
Implements
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
- 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.