SyntaxFactory.ConstDirectiveTrivia メソッド

定義

オーバーロード

ConstDirectiveTrivia(SyntaxToken, ExpressionSyntax)

ソースに表示される#Const前処理定数宣言を表します。

ConstDirectiveTrivia(String, ExpressionSyntax)

ソースに表示される#Const前処理定数宣言を表します。

ConstDirectiveTrivia(SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, ExpressionSyntax)

ソースに表示される#Const前処理定数宣言を表します。

ConstDirectiveTrivia(SyntaxToken, ExpressionSyntax)

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

ソースに表示される#Const前処理定数宣言を表します。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ConstDirectiveTriviaSyntax ^ ConstDirectiveTrivia(Microsoft::CodeAnalysis::SyntaxToken name, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ value);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstDirectiveTriviaSyntax ConstDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken name, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax value);
static member ConstDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstDirectiveTriviaSyntax
Public Shared Function ConstDirectiveTrivia (name As SyntaxToken, value As ExpressionSyntax) As ConstDirectiveTriviaSyntax

パラメーター

name
SyntaxToken

定義されている前処理定数の名前。

value
ExpressionSyntax

定義されている前処理定数の値を表す式。

戻り値

適用対象

ConstDirectiveTrivia(String, ExpressionSyntax)

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

ソースに表示される#Const前処理定数宣言を表します。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ConstDirectiveTriviaSyntax ^ ConstDirectiveTrivia(System::String ^ name, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ value);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstDirectiveTriviaSyntax ConstDirectiveTrivia (string name, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax value);
static member ConstDirectiveTrivia : string * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstDirectiveTriviaSyntax
Public Shared Function ConstDirectiveTrivia (name As String, value As ExpressionSyntax) As ConstDirectiveTriviaSyntax

パラメーター

name
String

定義されている前処理定数の名前。

value
ExpressionSyntax

定義されている前処理定数の値を表す式。

戻り値

適用対象

ConstDirectiveTrivia(SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, ExpressionSyntax)

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

ソースに表示される#Const前処理定数宣言を表します。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ConstDirectiveTriviaSyntax ^ ConstDirectiveTrivia(Microsoft::CodeAnalysis::SyntaxToken hashToken, Microsoft::CodeAnalysis::SyntaxToken constKeyword, Microsoft::CodeAnalysis::SyntaxToken name, Microsoft::CodeAnalysis::SyntaxToken equalsToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ value);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstDirectiveTriviaSyntax ConstDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken constKeyword, Microsoft.CodeAnalysis.SyntaxToken name, Microsoft.CodeAnalysis.SyntaxToken equalsToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax value);
static member ConstDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstDirectiveTriviaSyntax
Public Shared Function ConstDirectiveTrivia (hashToken As SyntaxToken, constKeyword As SyntaxToken, name As SyntaxToken, equalsToken As SyntaxToken, value As ExpressionSyntax) As ConstDirectiveTriviaSyntax

パラメーター

hashToken
SyntaxToken

プリプロセッサ ディレクティブ内の "#" トークン。

constKeyword
SyntaxToken

"Const" キーワード。

name
SyntaxToken

定義されている前処理定数の名前。

equalsToken
SyntaxToken

"=" トークン。

value
ExpressionSyntax

定義されている前処理定数の値を表す式。

戻り値

適用対象