CSharpHelper.Literal 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
Literal(UInt64)
public virtual string Literal (ulong value);
abstract member Literal : uint64 -> string
override this.Literal : uint64 -> string
Public Overridable Function Literal (value As ULong) As String
Parameters
Returns
Literal(UInt32)
public virtual string Literal (uint value);
abstract member Literal : uint32 -> string
override this.Literal : uint32 -> string
Public Overridable Function Literal (value As UInteger) As String
Parameters
Returns
Literal(UInt16)
public virtual string Literal (ushort value);
abstract member Literal : uint16 -> string
override this.Literal : uint16 -> string
Public Overridable Function Literal (value As UShort) As String
Parameters
Returns
Literal(TimeSpan)
public virtual string Literal (TimeSpan value);
abstract member Literal : TimeSpan -> string
override this.Literal : TimeSpan -> string
Public Overridable Function Literal (value As TimeSpan) As String
Parameters
Returns
Literal(String)
public virtual string Literal (string value);
abstract member Literal : string -> string
override this.Literal : string -> string
Public Overridable Function Literal (value As String) As String
Parameters
Returns
Literal(Single)
public virtual string Literal (float value);
abstract member Literal : single -> string
override this.Literal : single -> string
Public Overridable Function Literal (value As Single) As String
Parameters
Returns
Literal(SByte)
public virtual string Literal (sbyte value);
abstract member Literal : sbyte -> string
override this.Literal : sbyte -> string
Public Overridable Function Literal (value As SByte) As String
Parameters
Returns
Literal(Int64)
public virtual string Literal (long value);
abstract member Literal : int64 -> string
override this.Literal : int64 -> string
Public Overridable Function Literal (value As Long) As String
Parameters
Returns
Literal(Int32)
public virtual string Literal (int value);
abstract member Literal : int -> string
override this.Literal : int -> string
Public Overridable Function Literal (value As Integer) As String
Parameters
Returns
Literal(Int16)
public virtual string Literal (short value);
abstract member Literal : int16 -> string
override this.Literal : int16 -> string
Public Overridable Function Literal (value As Short) As String
Parameters
Returns
Literal(Guid)
public virtual string Literal (Guid value);
abstract member Literal : Guid -> string
override this.Literal : Guid -> string
Public Overridable Function Literal (value As Guid) As String
Parameters
Returns
Literal(Enum)
public virtual string Literal (Enum value);
abstract member Literal : Enum -> string
override this.Literal : Enum -> string
Public Overridable Function Literal (value As Enum) As String
Parameters
Returns
Literal(Double)
public virtual string Literal (double value);
abstract member Literal : double -> string
override this.Literal : double -> string
Public Overridable Function Literal (value As Double) As String
Parameters
Returns
Literal(Decimal)
public virtual string Literal (decimal value);
abstract member Literal : decimal -> string
override this.Literal : decimal -> string
Public Overridable Function Literal (value As Decimal) As String
Parameters
Returns
Literal(DateTimeOffset)
public virtual string Literal (DateTimeOffset value);
abstract member Literal : DateTimeOffset -> string
override this.Literal : DateTimeOffset -> string
Public Overridable Function Literal (value As DateTimeOffset) As String
Parameters
Returns
Literal(DateTime)
public virtual string Literal (DateTime value);
abstract member Literal : DateTime -> string
override this.Literal : DateTime -> string
Public Overridable Function Literal (value As DateTime) As String
Parameters
Returns
Literal(IReadOnlyList<String>)
public virtual string Literal (System.Collections.Generic.IReadOnlyList<string> values);
abstract member Literal : System.Collections.Generic.IReadOnlyList<string> -> string
override this.Literal : System.Collections.Generic.IReadOnlyList<string> -> string
Public Overridable Function Literal (values As IReadOnlyList(Of String)) As String
Parameters
Returns
Literal(Char)
public virtual string Literal (char value);
abstract member Literal : char -> string
override this.Literal : char -> string
Public Overridable Function Literal (value As Char) As String
Parameters
Returns
Literal(Byte[])
public virtual string Literal (byte[] values);
abstract member Literal : byte[] -> string
override this.Literal : byte[] -> string
Public Overridable Function Literal (values As Byte()) As String
Parameters
Returns
Literal(Byte)
public virtual string Literal (byte value);
abstract member Literal : byte -> string
override this.Literal : byte -> string
Public Overridable Function Literal (value As Byte) As String
Parameters
Returns
Literal(Boolean)
public virtual string Literal (bool value);
abstract member Literal : bool -> string
override this.Literal : bool -> string
Public Overridable Function Literal (value As Boolean) As String
Parameters
Returns
Literal<T>(Nullable<T>)
public virtual string Literal<T> (T? value) where T : struct;
abstract member Literal : Nullable<'T (requires 'T : struct)> -> string (requires 'T : struct)
override this.Literal : Nullable<'T (requires 'T : struct)> -> string (requires 'T : struct)
Public Overridable Function Literal(Of T As Structure) (value As Nullable(Of T)) As String
Type Parameters
Parameters
Returns