Share via


PropertyBag.Add(Int32, Object) Method

Definition

Adds an element that has the specified integer key and value to the collection.

public:
 void Add(int key, System::Object ^ value);
public void Add (int key, object value);
member this.Add : int * obj -> unit
Public Sub Add (key As Integer, value As Object)

Parameters

key
Int32

The integer to use as the key of the element to add.

value
Object

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

Applies to