IPropertyDictionary.Add Method (String, Object, PropertyCollisionResolution)
Adds a property to the dictionary with the specified key, value, and resolution of the property.
Namespace: Microsoft.SqlServer.Management.Data
Assembly: Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)
Syntax
'Declaration
Sub Add ( _
key As String, _
value As Object, _
collisionResolution As PropertyCollisionResolution _
)
'Usage
Dim instance As IPropertyDictionary
Dim key As String
Dim value As Object
Dim collisionResolution As PropertyCollisionResolution
instance.Add(key, value, collisionResolution)
void Add(
string key,
Object value,
PropertyCollisionResolution collisionResolution
)
void Add(
String^ key,
Object^ value,
PropertyCollisionResolution collisionResolution
)
abstract Add :
key:string *
value:Object *
collisionResolution:PropertyCollisionResolution -> unit
function Add(
key : String,
value : Object,
collisionResolution : PropertyCollisionResolution
)
Parameters
- key
Type: System.String
An string that represents the key of he property.
- value
Type: System.Object
Represents the value of the object.
- collisionResolution
Type: Microsoft.SqlServer.Management.Data.PropertyCollisionResolution
The resolution of the property.