你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

JsonObject Class

Definition

public class JsonObject : Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Runtime.Json.JsonNode, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Runtime.Json.JsonNode>>, System.Collections.Generic.IDictionary<string,Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Runtime.Json.JsonNode>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Runtime.Json.JsonNode>>
type JsonObject = class
    inherit JsonNode
    interface IDictionary<string, JsonNode>
    interface ICollection<KeyValuePair<string, JsonNode>>
    interface seq<KeyValuePair<string, JsonNode>>
    interface IEnumerable
Public Class JsonObject
Inherits JsonNode
Implements ICollection(Of KeyValuePair(Of String, JsonNode)), IDictionary(Of String, JsonNode), IEnumerable(Of KeyValuePair(Of String, JsonNode))
Inheritance
JsonObject
Implements

Properties

Item[Int32] (Inherited from JsonNode)
Item[String]
Keys
Values

Methods

Add(String, Boolean)
Add(String, Byte[])
Add(String, DateTime)
Add(String, Double)
Add(String, Int32)
Add(String, Int32[])
Add(String, Int64)
Add(String, JsonNode)
Add(String, Single)
Add(String, String)
Add(String, String[])
Add(String, Uri)
ContainsKey(String)
Remove(String)
ToString() (Inherited from JsonNode)
TryGetValue(String, JsonNode)

Explicit Interface Implementations

ICollection<KeyValuePair<String,JsonNode>>.Add(KeyValuePair<String,JsonNode>)
ICollection<KeyValuePair<String,JsonNode>>.Clear()
ICollection<KeyValuePair<String,JsonNode>>.Contains(KeyValuePair<String,JsonNode>)
ICollection<KeyValuePair<String,JsonNode>>.CopyTo(KeyValuePair<String,JsonNode>[], Int32)
ICollection<KeyValuePair<String,JsonNode>>.Count
ICollection<KeyValuePair<String,JsonNode>>.IsReadOnly
ICollection<KeyValuePair<String,JsonNode>>.Remove(KeyValuePair<String,JsonNode>)
IEnumerable.GetEnumerator()
IEnumerable<KeyValuePair<String,JsonNode>>.GetEnumerator()

Extension Methods

GetProperty<TKey,TValue>(IDictionary<TKey,TValue>, TKey)
EmptyIfNull<T>(IEnumerable<T>)
GetOrNull<TKey,TValue>(IDictionary<TKey,TValue>, TKey)
Batch<TSource>(IEnumerable<TSource>, Int32)

Batches an enumerable into batches of the specified size.

CoalesceEnumerable<TSource>(IEnumerable<TSource>)

Coalesces the enumerable.

Distinct<TSource,TKeyType>(IEnumerable<TSource>, Func<TSource,TKeyType>, IEqualityComparer<TKeyType>)

Returns a distinct collection based on a key.

DistinctArray<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>)

Returns a distinct array.

SelectArray<TSource,TResult>(IEnumerable<TSource>, Func<TSource,TResult>)

Selects a collection and returns an array.

SelectManyArray<TSource,TResult>(IEnumerable<TSource>, Func<TSource,IEnumerable<TResult>>)

Selects a collection and returns an array.

ToInsensitiveDictionary<TValue>(IEnumerable<TValue>, Func<TValue,String>)

Creates an insensitive dictionary from an enumerable.

ToInsensitiveDictionary<TSource,TValue>(IEnumerable<TSource>, Func<TSource,String>, Func<TSource,TValue>)

Creates an insensitive dictionary from an enumerable.

Coalesce<TSource>(IEnumerable<TSource>)
ForEach<T>(IEnumerable<T>, Action<T>)
GetValueOrDefault<K,V>(IDictionary<K,V>, K, V)
MaxOrDefault<T,TResult>(IEnumerable<T>, Func<T,TResult>, TResult)
NonNull<T>(IEnumerable<T>)

Applies to