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(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
- value
- DateTimeOffset
Returns
Applies to
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
- values
- IReadOnlyList<String>
Returns
Applies to
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
- T
Parameters
- value
- Nullable<T>