共用方式為


SyntaxFactory.DateLiteralToken 方法

定義

多載

DateLiteralToken(String, DateTime)

表示日期常值標記。

DateLiteralToken(SyntaxTriviaList, String, DateTime, SyntaxTriviaList)

表示日期常值標記。

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

表示日期常值標記。

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

參數

text
String

此權杖的實際文字。

value
DateTime

傳回

適用於

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

表示日期常值標記。

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

參數

leadingTrivia
SyntaxTriviaList
text
String

此權杖的實際文字。

value
DateTime
trailingTrivia
SyntaxTriviaList

傳回

適用於