共用方式為


JsonArray.IEnumerable<JsonValue>.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(Of JsonValue)
    Implements IEnumerable(Of JsonValue).GetEnumerator
IEnumerator<JsonValue> IEnumerable<JsonValue>.GetEnumerator()

Return Value

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

Implements

IEnumerable<T>.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.