AdoDotNetConnectionProperties.ICollection<KeyValuePair<String, Object>>.Add Method
Adds a new property to the current connection properties collection. Raises the PropertyChanged() event.
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
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 property to add.
Implements
.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.