다음을 통해 공유


JsonValue.IEnumerable.GetEnumerator Method

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

This method is not supported for this base class and throws an exception.

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

Syntax

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

Implements

IEnumerable.GetEnumerator()

Remarks

The exception thrown is the InvalidOperationException. This method is overloaded in the implementation of the JsonObject class, which inherits from this class and returns an enumerator that iterates through the array of elements.

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.