INameObjectCollection.Add(String, 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 entry with the specified key and value into the collection.
public:
void Add(System::String ^ name, System::Object ^ value);
public void Add (string name, object value);
abstract member Add : string * obj -> unit
Public Sub Add (name As String, value As Object)
Parameters
- value
- Object
The object value of the entry used to add. The value can be null.