Share via


SyntaxFactory.DateLiteralToken Method

Definition

Overloads

DateLiteralToken(String, DateTime)

Represents a Date literal token.

DateLiteralToken(SyntaxTriviaList, String, DateTime, SyntaxTriviaList)

Represents a Date literal token.

DateLiteralToken(String, DateTime)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Represents a Date literal token.

public:
 static Microsoft::CodeAnalysis::SyntaxToken DateLiteralToken(System::String ^ text, DateTime value);
public static Microsoft.CodeAnalysis.SyntaxToken DateLiteralToken (string text, DateTime value);
static member DateLiteralToken : string * DateTime -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function DateLiteralToken (text As String, value As DateTime) As SyntaxToken

Parameters

text
String

The actual text of this token.

value
DateTime

Returns

Applies to

DateLiteralToken(SyntaxTriviaList, String, DateTime, SyntaxTriviaList)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Represents a Date literal token.

public:
 static Microsoft::CodeAnalysis::SyntaxToken DateLiteralToken(Microsoft::CodeAnalysis::SyntaxTriviaList leadingTrivia, System::String ^ text, DateTime value, Microsoft::CodeAnalysis::SyntaxTriviaList trailingTrivia);
public static Microsoft.CodeAnalysis.SyntaxToken DateLiteralToken (Microsoft.CodeAnalysis.SyntaxTriviaList leadingTrivia, string text, DateTime value, Microsoft.CodeAnalysis.SyntaxTriviaList trailingTrivia);
static member DateLiteralToken : Microsoft.CodeAnalysis.SyntaxTriviaList * string * DateTime * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function DateLiteralToken (leadingTrivia As SyntaxTriviaList, text As String, value As DateTime, trailingTrivia As SyntaxTriviaList) As SyntaxToken

Parameters

leadingTrivia
SyntaxTriviaList
text
String

The actual text of this token.

value
DateTime
trailingTrivia
SyntaxTriviaList

Returns

Applies to