Share via


DynamicJsonArray Class

Definition

Represents a series of values as a JavaScript-like array by using the dynamic capabilities of the Dynamic Language Runtime (DLR).

public class DynamicJsonArray : System.Dynamic.DynamicObject, System.Collections.Generic.IEnumerable<object>
type DynamicJsonArray = class
    inherit DynamicObject
    interface seq<obj>
    interface IEnumerable
Public Class DynamicJsonArray
Inherits DynamicObject
Implements IEnumerable(Of Object)
Inheritance
DynamicJsonArray
Implements

Constructors

DynamicJsonArray(Object[])

Initializes a new instance of the DynamicJsonArray class using the specified array element values.

Properties

Item[Int32]

Returns the value at the specified index in the DynamicJsonArray instance.

Length

Returns the number of elements in the DynamicJsonArray instance.

Methods

GetEnumerator()

Returns an enumerator that can be used to iterate through the elements of the DynamicJsonArray instance.

TryConvert(ConvertBinder, Object)

Converts the DynamicJsonArray instance to a compatible type.

TryGetMember(GetMemberBinder, Object)

Tests the DynamicJsonArray instance for dynamic members (which are not supported) in a way that does not cause an exception to be thrown.

Operators

Implicit(DynamicJsonArray to Array)

Converts a DynamicJsonArray instance to an array of objects.

Implicit(DynamicJsonArray to Object[])

Converts a DynamicJsonArray instance to an array of objects.

Explicit Interface Implementations

IEnumerable<Object>.GetEnumerator()

Applies to