ISerializationWriter.WriteProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- value
- ISerializableWithWriter
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
- value
- ISerializableWithWriter
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
- items
- IDictionary<String,Double>
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
- items
- IDictionary<String,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
- items
- IList<ISerializableWithWriter>
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
Applies to
WriteProperty(String, Nullable<Boolean>)
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
- value
- Nullable<DateTimeOffset>
Applies to
WriteProperty(String, Nullable<Double>)
WriteProperty(String, Nullable<Int32>)
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
Azure SDK for .NET