共用方式為


DataConnectionProperties.IDictionary.Add(Object, Object) Method

Definition

Adds an element as a key/value pair to the specified IDictionary.

 virtual void System.Collections.IDictionary.Add(System::Object ^ key, System::Object ^ value) = System::Collections::IDictionary::Add;
void IDictionary.Add (object key, object value);
abstract member System.Collections.IDictionary.Add : obj * obj -> unit
override this.System.Collections.IDictionary.Add : obj * obj -> unit
Sub Add (key As Object, value As Object) Implements IDictionary.Add

Parameters

key
Object

The object to use as the key of the element to add to the dictionary.

value
Object

The object to use as the value of the element to add to the dictionary.

Implements

Applies to