다음을 통해 공유


JsonArray.IEnumerable.GetEnumerator Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Returns an enumerator that iterates through the JsonValue objects in the array.

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

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
IEnumerator IEnumerable.GetEnumerator()

Return Value

Type: System.Collections.IEnumerator
Returns an IEnumerator object that iterates through the JsonValue elements in the JsonArray.

Implements

IEnumerable.GetEnumerator()

Remarks

Enumerators can be used to read the data in a collection, but they cannot be used to modify the underlying collection.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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