DynamicJsonObject Class

Definition

Represents a collection of values as a JavaScript-like object by using the capabilities of the Dynamic Language Runtime.

public class DynamicJsonObject : System.Dynamic.DynamicObject
type DynamicJsonObject = class
    inherit DynamicObject
Public Class DynamicJsonObject
Inherits DynamicObject
Inheritance
DynamicJsonObject

Constructors

DynamicJsonObject(IDictionary<String,Object>)

Initializes a new instance of the DynamicJsonObject class using the specified field values.

Methods

GetDynamicMemberNames()

Returns a list that contains the name of all dynamic members (JSON fields) of the DynamicJsonObject instance.

TryConvert(ConvertBinder, Object)

Converts the DynamicJsonObject instance to a compatible type.

TryGetIndex(GetIndexBinder, Object[], Object)

Gets the value of a DynamicJsonObject field using the specified index.

TryGetMember(GetMemberBinder, Object)

Gets the value of a DynamicJsonObject field using the specified name.

TrySetIndex(SetIndexBinder, Object[], Object)

Sets the value of a DynamicJsonObject field using the specified index.

TrySetMember(SetMemberBinder, Object)

Sets the value of a DynamicJsonObject field using the specified name.

Applies to