Megosztás a következőn keresztül:


ISerializationWriter.WriteProperty Method

Definition

Overloads

WriteProperty(ISerializableWithWriter)

Writes value ISerializableWithWriter field.

WriteProperty(String, ISerializableWithWriter)

Writes name and value for a ISerializableWithWriter field.

WriteProperty(String, IDictionary<String,Double>)

Writes name and value for a IDictionary field with string,string as key,value.

WriteProperty(String, IDictionary<String,String>)

Writes name and value for a IDictionary field with string,string as key,value.

WriteProperty(String, IList<ISerializableWithWriter>)

Writes name and values for a IList field of objects implementing ISerializableWithWriter.

WriteProperty(String, IList<String>)

Writes name and values for a IList field of strings.

WriteProperty(String, Nullable<Boolean>)

Writes name and value for a boolean field.

WriteProperty(String, Nullable<DateTimeOffset>)

Writes name and value for a DateTimeOffset field.

WriteProperty(String, Nullable<Double>)

Writes name and value for a double field.

WriteProperty(String, Nullable<Int32>)

Writes name and value for a int field.

WriteProperty(String, Nullable<TimeSpan>)

Writes name and value for a TimeSpan field.

WriteProperty(String, String)

Writes name and value for a string field.

WriteProperty(ISerializableWithWriter)

Writes value ISerializableWithWriter field.

public void WriteProperty (Microsoft.ApplicationInsights.Extensibility.ISerializableWithWriter value);
abstract member WriteProperty : Microsoft.ApplicationInsights.Extensibility.ISerializableWithWriter -> unit
Public Sub WriteProperty (value As ISerializableWithWriter)

Parameters

Applies to

WriteProperty(String, ISerializableWithWriter)

Writes name and value for a ISerializableWithWriter field.

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

Parameters

name
String

Applies to

WriteProperty(String, IDictionary<String,Double>)

Writes name and value for a IDictionary field with string,string as key,value.

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

Parameters

name
String

Applies to

WriteProperty(String, IDictionary<String,String>)

Writes name and value for a IDictionary field with string,string as key,value.

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

Parameters

name
String

Applies to

WriteProperty(String, IList<ISerializableWithWriter>)

Writes name and values for a IList field of objects implementing ISerializableWithWriter.

public void WriteProperty (string name, System.Collections.Generic.IList<Microsoft.ApplicationInsights.Extensibility.ISerializableWithWriter> items);
abstract member WriteProperty : string * System.Collections.Generic.IList<Microsoft.ApplicationInsights.Extensibility.ISerializableWithWriter> -> unit
Public Sub WriteProperty (name As String, items As IList(Of ISerializableWithWriter))

Parameters

name
String

Applies to

WriteProperty(String, IList<String>)

Writes name and values for a IList field of strings.

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

Parameters

name
String
items
IList<String>

Applies to

WriteProperty(String, Nullable<Boolean>)

Writes name and value for a boolean field.

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))

Parameters

name
String
value
Nullable<Boolean>

Applies to

WriteProperty(String, Nullable<DateTimeOffset>)

Writes name and value for a DateTimeOffset field.

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))

Parameters

name
String

Applies to

WriteProperty(String, Nullable<Double>)

Writes name and value for a double field.

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))

Parameters

name
String
value
Nullable<Double>

Applies to

WriteProperty(String, Nullable<Int32>)

Writes name and value for a int field.

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))

Parameters

name
String
value
Nullable<Int32>

Applies to

WriteProperty(String, Nullable<TimeSpan>)

Writes name and value for a TimeSpan field.

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))

Parameters

name
String

Applies to

WriteProperty(String, String)

Writes name and value for a string field.

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

Parameters

name
String
value
String

Applies to