PropertyBag.Add(Int32, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.