OpenApiWriterBase.WriteValue 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
WriteValue(Single) |
Write float value. |
WriteValue(Object) |
Write object value. |
WriteValue(Int64) |
Write long value. |
WriteValue(Int32) |
Write integer value. |
WriteValue(DateTime) |
Write DateTime value. |
WriteValue(Decimal) |
Write decimal value. |
WriteValue(DateTimeOffset) |
Write DateTimeOffset value. |
WriteValue(String) |
Write string value. |
WriteValue(Boolean) |
Write boolean value. |
WriteValue(Double) |
Write double value. |
WriteValue(Single)
Write float value.
public virtual void WriteValue (float value);
abstract member WriteValue : single -> unit
override this.WriteValue : single -> unit
Public Overridable Sub WriteValue (value As Single)
Parameters
- value
- Single
The float value.
Applies to
WriteValue(Object)
Write object value.
public virtual void WriteValue (object value);
abstract member WriteValue : obj -> unit
override this.WriteValue : obj -> unit
Public Overridable Sub WriteValue (value As Object)
Parameters
- value
- Object
The object value.
Implements
Applies to
WriteValue(Int64)
Write long value.
public virtual void WriteValue (long value);
abstract member WriteValue : int64 -> unit
override this.WriteValue : int64 -> unit
Public Overridable Sub WriteValue (value As Long)
Parameters
- value
- Int64
The long value.
Applies to
WriteValue(Int32)
Write integer value.
public virtual void WriteValue (int value);
abstract member WriteValue : int -> unit
override this.WriteValue : int -> unit
Public Overridable Sub WriteValue (value As Integer)
Parameters
- value
- Int32
The integer value.
Implements
Applies to
WriteValue(DateTime)
Write DateTime value.
public virtual void WriteValue (DateTime value);
abstract member WriteValue : DateTime -> unit
override this.WriteValue : DateTime -> unit
Public Overridable Sub WriteValue (value As DateTime)
Parameters
- value
- DateTime
The DateTime value.
Applies to
WriteValue(Decimal)
Write decimal value.
public virtual void WriteValue (decimal value);
abstract member WriteValue : decimal -> unit
override this.WriteValue : decimal -> unit
Public Overridable Sub WriteValue (value As Decimal)
Parameters
- value
- Decimal
The decimal value.
Implements
Applies to
WriteValue(DateTimeOffset)
Write DateTimeOffset value.
public virtual void WriteValue (DateTimeOffset value);
abstract member WriteValue : DateTimeOffset -> unit
override this.WriteValue : DateTimeOffset -> unit
Public Overridable Sub WriteValue (value As DateTimeOffset)
Parameters
- value
- DateTimeOffset
The DateTimeOffset value.
Applies to
WriteValue(String)
Write string value.
public abstract void WriteValue (string value);
abstract member WriteValue : string -> unit
Public MustOverride Sub WriteValue (value As String)
Parameters
- value
- String
The string value.
Implements
Applies to
WriteValue(Boolean)
Write boolean value.
public virtual void WriteValue (bool value);
abstract member WriteValue : bool -> unit
override this.WriteValue : bool -> unit
Public Overridable Sub WriteValue (value As Boolean)
Parameters
- value
- Boolean
The boolean value.
Implements
Applies to
WriteValue(Double)
Write double value.
public virtual void WriteValue (double value);
abstract member WriteValue : double -> unit
override this.WriteValue : double -> unit
Public Overridable Sub WriteValue (value As Double)
Parameters
- value
- Double
The double value.