共用方式為


SyntaxFactory.ElseStatement Method

Definition

Overloads

ElseStatement()

Represents the "Else" statement that begins an "Else" block.

ElseStatement(SyntaxToken)

Represents the "Else" statement that begins an "Else" block.

ElseStatement()

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

Represents the "Else" statement that begins an "Else" block.

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

Returns

Applies to

ElseStatement(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

Represents the "Else" statement that begins an "Else" block.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseStatementSyntax ^ ElseStatement(Microsoft::CodeAnalysis::SyntaxToken elseKeyword);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseStatementSyntax ElseStatement (Microsoft.CodeAnalysis.SyntaxToken elseKeyword);
static member ElseStatement : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseStatementSyntax
Public Shared Function ElseStatement (elseKeyword As SyntaxToken) As ElseStatementSyntax

Parameters

elseKeyword
SyntaxToken

The "Else" keyword.

Returns

Applies to