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

IJsonWriter.WriteProperty 方法

定义

重载

WriteProperty(String, IDictionary<String,Double>)

写入属性 IDictionary<TKey,TValue>

WriteProperty(String, IDictionary<String,String>)

写入属性 IDictionary<TKey,TValue>

WriteProperty(String, Nullable<Boolean>)

写入属性 Boolean

WriteProperty(String, Nullable<DateTimeOffset>)

写入属性 DateTimeOffset

WriteProperty(String, Nullable<Double>)

写入属性 Double

WriteProperty(String, Nullable<Int32>)

写入属性 Int32

WriteProperty(String, Nullable<TimeSpan>)

写入属性 TimeSpan

WriteProperty(String, String)

写入属性 String

WriteProperty(String, IDictionary<String,Double>)

写入属性 IDictionary<TKey,TValue>

public void WriteProperty (string name, System.Collections.Generic.IDictionary<string,double> values);
abstract member WriteProperty : string * System.Collections.Generic.IDictionary<string, double> -> unit
Public Sub WriteProperty (name As String, values As IDictionary(Of String, Double))

参数

name
String

适用于

WriteProperty(String, IDictionary<String,String>)

写入属性 IDictionary<TKey,TValue>

public void WriteProperty (string name, System.Collections.Generic.IDictionary<string,string> values);
abstract member WriteProperty : string * System.Collections.Generic.IDictionary<string, string> -> unit
Public Sub WriteProperty (name As String, values As IDictionary(Of String, String))

参数

name
String

适用于

WriteProperty(String, Nullable<Boolean>)

写入属性 Boolean

public void WriteProperty (string name, bool? value);
abstract member WriteProperty : string * Nullable<bool> -> unit
Public Sub WriteProperty (name As String, value As Nullable(Of Boolean))

参数

name
String
value
Nullable<Boolean>

适用于

WriteProperty(String, Nullable<DateTimeOffset>)

写入属性 DateTimeOffset

public void WriteProperty (string name, DateTimeOffset? value);
abstract member WriteProperty : string * Nullable<DateTimeOffset> -> unit
Public Sub WriteProperty (name As String, value As Nullable(Of DateTimeOffset))

参数

name
String

适用于

WriteProperty(String, Nullable<Double>)

写入属性 Double

public void WriteProperty (string name, double? value);
abstract member WriteProperty : string * Nullable<double> -> unit
Public Sub WriteProperty (name As String, value As Nullable(Of Double))

参数

name
String
value
Nullable<Double>

适用于

WriteProperty(String, Nullable<Int32>)

写入属性 Int32

public void WriteProperty (string name, int? value);
abstract member WriteProperty : string * Nullable<int> -> unit
Public Sub WriteProperty (name As String, value As Nullable(Of Integer))

参数

name
String
value
Nullable<Int32>

适用于

WriteProperty(String, Nullable<TimeSpan>)

写入属性 TimeSpan

public void WriteProperty (string name, TimeSpan? value);
abstract member WriteProperty : string * Nullable<TimeSpan> -> unit
Public Sub WriteProperty (name As String, value As Nullable(Of TimeSpan))

参数

name
String

适用于

WriteProperty(String, String)

写入属性 String

public void WriteProperty (string name, string value);
abstract member WriteProperty : string * string -> unit
Public Sub WriteProperty (name As String, value As String)

参数

name
String
value
String

适用于