SyntaxFactory.ConstDirectiveTrivia Metodo

Definizione

Overload

ConstDirectiveTrivia(SyntaxToken, ExpressionSyntax)

Rappresenta una dichiarazione costante di pre-elaborazione #Const visualizzata nell'origine.

ConstDirectiveTrivia(String, ExpressionSyntax)

Rappresenta una dichiarazione costante di pre-elaborazione #Const visualizzata nell'origine.

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

Rappresenta una dichiarazione costante di pre-elaborazione #Const visualizzata nell'origine.

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

Rappresenta una dichiarazione costante di pre-elaborazione #Const visualizzata nell'origine.

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

Parametri

name
SyntaxToken

Nome della costante di pre-elaborazione definita.

value
ExpressionSyntax

Espressione che rappresenta il valore della costante di pre-elaborazione definita.

Restituisce

Si applica a

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

Rappresenta una dichiarazione costante di pre-elaborazione #Const visualizzata nell'origine.

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

Parametri

name
String

Nome della costante di pre-elaborazione definita.

value
ExpressionSyntax

Espressione che rappresenta il valore della costante di pre-elaborazione definita.

Restituisce

Si applica a

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

Rappresenta una dichiarazione costante di pre-elaborazione #Const visualizzata nell'origine.

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

Parametri

hashToken
SyntaxToken

Token "#" in una direttiva del preprocessore.

constKeyword
SyntaxToken

Parola chiave "Const".

name
SyntaxToken

Nome della costante di pre-elaborazione definita.

equalsToken
SyntaxToken

Token "=".

value
ExpressionSyntax

Espressione che rappresenta il valore della costante di pre-elaborazione definita.

Restituisce

Si applica a