PropertyValueBagAdd Method

Adds a value under key to Data. If either the key or the value is null, nothing is added to the data dictionary.

Definition

Namespace: Quine.Schemas.Core.Eventing
Assembly: Quine.Schemas.Core (in Quine.Schemas.Core.dll) Version: 1.0.0+0ea0706914ee4edf2b0ed66bec3ab4d062a43b68
C#
public void Add(
	string key,
	Object value
)

Parameters

key  String

[Missing <param name="key"/> documentation for "M:Quine.Schemas.Core.Eventing.PropertyValueBag.Add(System.String,System.Object)"]

value  Object

[Missing <param name="value"/> documentation for "M:Quine.Schemas.Core.Eventing.PropertyValueBag.Add(System.String,System.Object)"]

Exceptions

ArgumentException A would-be inserted key already exists in Data.

See Also