IPropertyDictionary.Add Method

Definition

Adds a property to the dictionary.

Overloads

Add(ISfcProperty)

Adds the specified property to the dictionary.

Add(ISfcProperty, PropertyCollisionResolution)

Adds a property to the dictionary with the specified interface resolution.

Add(IEnumerable<KeyValuePair<String,Object>>, PropertyCollisionResolution)

Adds a property to the dictionary with the specified resolution of the property.

Add(KeyValuePair<String,Object>, PropertyCollisionResolution)

Adds the specified key and value to the dictionary.

Add(String, Type)

Adds a property to the dictionary with the specified name and type.

Add(String, Object, PropertyCollisionResolution)

Adds a property to the dictionary with the specified key, value, and resolution of the property.

Add(String, Type, PropertyCollisionResolution)

Adds a property to the dictionary with the specified name, type, and interface resolution.

Add(ISfcProperty)

Adds the specified property to the dictionary.

public:
 void Add(Microsoft::SqlServer::Management::Sdk::Sfc::ISfcProperty ^ property);
public void Add (Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty property);
abstract member Add : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty -> unit
Public Sub Add (property As ISfcProperty)

Parameters

property
ISfcProperty

The interface that provides information about a property.

Applies to

Add(ISfcProperty, PropertyCollisionResolution)

Adds a property to the dictionary with the specified interface resolution.

public:
 void Add(Microsoft::SqlServer::Management::Sdk::Sfc::ISfcProperty ^ property, Microsoft::SqlServer::Management::Data::PropertyCollisionResolution collisionResolution);
public void Add (Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty property, Microsoft.SqlServer.Management.Data.PropertyCollisionResolution collisionResolution);
abstract member Add : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty * Microsoft.SqlServer.Management.Data.PropertyCollisionResolution -> unit
Public Sub Add (property As ISfcProperty, collisionResolution As PropertyCollisionResolution)

Parameters

property
ISfcProperty

The interface that provides information about a property.

collisionResolution
PropertyCollisionResolution

The resolution of the property.

Applies to

Add(IEnumerable<KeyValuePair<String,Object>>, PropertyCollisionResolution)

Adds a property to the dictionary with the specified resolution of the property.

public:
 void Add(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ items, Microsoft::SqlServer::Management::Data::PropertyCollisionResolution collisionResolution);
public void Add (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>> items, Microsoft.SqlServer.Management.Data.PropertyCollisionResolution collisionResolution);
abstract member Add : seq<System.Collections.Generic.KeyValuePair<string, obj>> * Microsoft.SqlServer.Management.Data.PropertyCollisionResolution -> unit
Public Sub Add (items As IEnumerable(Of KeyValuePair(Of String, Object)), collisionResolution As PropertyCollisionResolution)

Parameters

items
IEnumerable<KeyValuePair<String,Object>>

Items to be added to the dictionary

collisionResolution
PropertyCollisionResolution

The resolution of the property

Applies to

Add(KeyValuePair<String,Object>, PropertyCollisionResolution)

Adds the specified key and value to the dictionary.

public:
 void Add(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> item, Microsoft::SqlServer::Management::Data::PropertyCollisionResolution collisionResolution);
public void Add (System.Collections.Generic.KeyValuePair<string,object> item, Microsoft.SqlServer.Management.Data.PropertyCollisionResolution collisionResolution);
abstract member Add : System.Collections.Generic.KeyValuePair<string, obj> * Microsoft.SqlServer.Management.Data.PropertyCollisionResolution -> unit
Public Sub Add (item As KeyValuePair(Of String, Object), collisionResolution As PropertyCollisionResolution)

Parameters

item
KeyValuePair<String,Object>

The item to add

collisionResolution
PropertyCollisionResolution

The resolution of the property

Applies to

Add(String, Type)

Adds a property to the dictionary with the specified name and type.

public:
 void Add(System::String ^ name, Type ^ type);
public void Add (string name, Type type);
abstract member Add : string * Type -> unit
Public Sub Add (name As String, type As Type)

Parameters

name
String

A String that contains the name of the specified property.

type
Type

The type of the property.

Applies to

Add(String, Object, PropertyCollisionResolution)

Adds a property to the dictionary with the specified key, value, and resolution of the property.

public:
 void Add(System::String ^ key, System::Object ^ value, Microsoft::SqlServer::Management::Data::PropertyCollisionResolution collisionResolution);
public void Add (string key, object value, Microsoft.SqlServer.Management.Data.PropertyCollisionResolution collisionResolution);
abstract member Add : string * obj * Microsoft.SqlServer.Management.Data.PropertyCollisionResolution -> unit
Public Sub Add (key As String, value As Object, collisionResolution As PropertyCollisionResolution)

Parameters

key
String

An string that represents the key of he property.

value
Object

Represents the value of the object.

collisionResolution
PropertyCollisionResolution

The resolution of the property.

Applies to

Add(String, Type, PropertyCollisionResolution)

Adds a property to the dictionary with the specified name, type, and interface resolution.

public:
 void Add(System::String ^ name, Type ^ type, Microsoft::SqlServer::Management::Data::PropertyCollisionResolution collisionResolution);
public void Add (string name, Type type, Microsoft.SqlServer.Management.Data.PropertyCollisionResolution collisionResolution);
abstract member Add : string * Type * Microsoft.SqlServer.Management.Data.PropertyCollisionResolution -> unit
Public Sub Add (name As String, type As Type, collisionResolution As PropertyCollisionResolution)

Parameters

name
String

A String method that contains the name of the specified property.

type
Type

The type of the property.

collisionResolution
PropertyCollisionResolution

The resolution of the property.

Applies to