语言

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

HttpExtensions.ToJson Method

Definition

Overloads

ToJson(IDictionary<String,IEnumerable<String>>)

public static Newtonsoft.Json.Linq.JObject ToJson(this System.Collections.Generic.IDictionary<string,System.Collections.Generic.IEnumerable<string>> headers);
static member ToJson : System.Collections.Generic.IDictionary<string, seq<string>> -> Newtonsoft.Json.Linq.JObject
<Extension()>
Public Function ToJson (headers As IDictionary(Of String, IEnumerable(Of String))) As JObject

Parameters

Returns

Newtonsoft.Json.Linq.JObject

Applies to

ToJson(HttpHeaders)

public static Newtonsoft.Json.Linq.JObject ToJson(this System.Net.Http.Headers.HttpHeaders headers);
static member ToJson : System.Net.Http.Headers.HttpHeaders -> Newtonsoft.Json.Linq.JObject
<Extension()>
Public Function ToJson (headers As HttpHeaders) As JObject

Parameters

headers
HttpHeaders

Returns

Newtonsoft.Json.Linq.JObject

Applies to