SyntaxFactory.DateLiteralToken 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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