Export (0) Print
Expand All

JsonObject Constructor (IEnumerable<KeyValuePair<String, JsonValue>>)

Creates an instance of the JsonObject class initialized with a IEnumerable<T> collection of key/value pairs.

Namespace:  System.Json
Assembly:  System.Json (in System.Json.dll)

public JsonObject(
	IEnumerable<KeyValuePair<string, JsonValue>> items
)

Parameters

items
Type: System.Collections.Generic.IEnumerable<KeyValuePair<String, JsonValue>>
The IEnumerable<T> collection of KeyValuePair<TKey, TValue> used to initialize the key/value pairs

ExceptionCondition
ArgumentNullException

items is null.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft