JsonObject.Keys 属性

定义

获取包含 ICollection<T> 的键的 IDictionary<TKey,TValue>

public:
 property System::Collections::Generic::ICollection<System::String ^> ^ Keys { System::Collections::Generic::ICollection<System::String ^> ^ get(); };
public System.Collections.Generic.ICollection<string> Keys { get; }
member this.Keys : System.Collections.Generic.ICollection<string>
Public ReadOnly Property Keys As ICollection(Of String)

属性值

一个 ICollection<T>,它包含实现 IDictionary<TKey,TValue> 的对象的键。

实现

注解

注意

命名空间 System.Json 是为不再受支持的 Silverlight 设计的。 若要处理 JSON,建议改用 命名空间中的 System.Text.Json API。

适用于