Edit

Share via


JsonElement Constructors

Definition

Overloads

JsonElement(String, String)

Creates a RootElement with its nested content from the contents of the Json file at the specified url.

JsonElement(String, Group, String)

Creates a RootElement with its nested content from the contents of the Json file at the specified url.

JsonElement(String, Int32, Int32, String)

Creates a RootElement with its nested content from the contents of the Json file at the specified url.

JsonElement(String, String)

Creates a RootElement with its nested content from the contents of the Json file at the specified url.

public JsonElement (string caption, string url);
new MonoTouch.Dialog.JsonElement : string * string -> MonoTouch.Dialog.JsonElement

Parameters

caption
String

The caption for the element.

url
String

Url to load the Json data from.

Remarks

When you create Json elements using a constructor that takes an url, the data for the nested contents will be loaded on demand when the Json element is selected.

Once the data is loaded, the UI will transition to the loaded data.

Applies to

JsonElement(String, Group, String)

Creates a RootElement with its nested content from the contents of the Json file at the specified url.

public JsonElement (string caption, MonoTouch.Dialog.Group group, string url);
new MonoTouch.Dialog.JsonElement : string * MonoTouch.Dialog.Group * string -> MonoTouch.Dialog.JsonElement

Parameters

caption
String

The caption for the element.

group
Group

The group that contains the checkbox or radio information. This is used to display the summary information when a RootElement is rendered inside a section.

url
String

Url to load the Json data from.

Remarks

When you create Json elements using a constructor that takes an url, the data for the nested contents will be loaded on demand when the Json element is selected.

Once the data is loaded, the UI will transition to the loaded data.

Applies to

JsonElement(String, Int32, Int32, String)

Creates a RootElement with its nested content from the contents of the Json file at the specified url.

public JsonElement (string caption, int section, int element, string url);
new MonoTouch.Dialog.JsonElement : string * int * int * string -> MonoTouch.Dialog.JsonElement

Parameters

caption
String

The caption for the element.

section
Int32
element
Int32

The element index inside the section that contains the summary for this RootSection.

url
String

Url to load the Json data from.

Remarks

When you create Json elements using a constructor that takes an url, the data for the nested contents will be loaded on demand when the Json element is selected.

Once the data is loaded, the UI will transition to the loaded data.

Applies to