Share via


IPropertyDictionary.Add Method (KeyValuePair<String, Object>, PropertyCollisionResolution)

Adds the specified key and value to the dictionary.

Namespace:  Microsoft.SqlServer.Management.Data
Assembly:  Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)

Syntax

'Declaration
Sub Add ( _
    item As KeyValuePair(Of String, Object), _
    collisionResolution As PropertyCollisionResolution _
)
'Usage
Dim instance As IPropertyDictionary
Dim item As KeyValuePair(Of String, Object)
Dim collisionResolution As PropertyCollisionResolution

instance.Add(item, collisionResolution)
void Add(
    KeyValuePair<string, Object> item,
    PropertyCollisionResolution collisionResolution
)
void Add(
    KeyValuePair<String^, Object^> item, 
    PropertyCollisionResolution collisionResolution
)
abstract Add : 
        item:KeyValuePair<string, Object> * 
        collisionResolution:PropertyCollisionResolution -> unit 
function Add(
    item : KeyValuePair<String, Object>, 
    collisionResolution : PropertyCollisionResolution
)

Parameters