ViewDataDictionary.Add ViewDataDictionary.Add ViewDataDictionary.Add Method

Definition

Overloads

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

Adds the specified item to the collection.

Add(String, Object) Add(String, Object) Add(String, Object)

Adds an element to the collection using the specified key and value .

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

Adds the specified item to the collection.

public void Add (System.Collections.Generic.KeyValuePair<string,object> item);
abstract member Add : System.Collections.Generic.KeyValuePair<string, obj> -> unit
override this.Add : System.Collections.Generic.KeyValuePair<string, obj> -> unit
Public Sub Add (item As KeyValuePair(Of String, Object))

Parameters

item
KeyValuePair<String,Object>

The object to add to the collection.

Exceptions

Add(String, Object) Add(String, Object) Add(String, Object)

Adds an element to the collection using the specified key and value .

public void Add (string key, object value);
abstract member Add : string * obj -> unit
override this.Add : string * obj -> unit
Public Sub Add (key As String, value As Object)

Parameters

key
String String String

The key of the element to add.

value
Object Object Object

The value of the element to add.

Exceptions

Applies to