SyntaxFactory.ElseDirectiveTrivia 方法

定义

重载

ElseDirectiveTrivia()

表示源中显示的#Else预处理指令。

ElseDirectiveTrivia(SyntaxToken, SyntaxToken)

表示源中显示的#Else预处理指令。

ElseDirectiveTrivia()

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
Source:
Syntax.xml.Main.Generated.vb

表示源中显示的#Else预处理指令。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseDirectiveTriviaSyntax ^ ElseDirectiveTrivia();
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseDirectiveTriviaSyntax ElseDirectiveTrivia ();
static member ElseDirectiveTrivia : unit -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseDirectiveTriviaSyntax
Public Shared Function ElseDirectiveTrivia () As ElseDirectiveTriviaSyntax

返回

适用于

ElseDirectiveTrivia(SyntaxToken, SyntaxToken)

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
Source:
Syntax.xml.Main.Generated.vb

表示源中显示的#Else预处理指令。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseDirectiveTriviaSyntax ^ ElseDirectiveTrivia(Microsoft::CodeAnalysis::SyntaxToken hashToken, Microsoft::CodeAnalysis::SyntaxToken elseKeyword);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseDirectiveTriviaSyntax ElseDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken elseKeyword);
static member ElseDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseDirectiveTriviaSyntax
Public Shared Function ElseDirectiveTrivia (hashToken As SyntaxToken, elseKeyword As SyntaxToken) As ElseDirectiveTriviaSyntax

参数

hashToken
SyntaxToken

预处理器指令中的“#”标记。

elseKeyword
SyntaxToken

返回

适用于