Condividi tramite


JsonObject.Keys Property

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

Returns a collection that contains the keys in the JsonObject.

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

Syntax

'Declaration
Public ReadOnly Property Keys As ICollection(Of String)
public ICollection<string> Keys { get; }

Property Value

Type: System.Collections.Generic.ICollection<String>
An ICollection<T> that contains the keys from the JSON CLR object.

Implements

IDictionary<TKey, TValue>.Keys

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.