共用方式為


MultiLineIfBlockSyntax.ElseBlock Property

Definition

An "Else" block to be executed if the condition expression of the "If" statement and all "ElseIf" blocks evaluate as false.

public:
 property Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseBlockSyntax ^ ElseBlock { Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseBlockSyntax ^ get(); };
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseBlockSyntax ElseBlock { get; }
member this.ElseBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseBlockSyntax
Public ReadOnly Property ElseBlock As ElseBlockSyntax

Property Value

Remarks

This child is optional. If it is not present, then Nothing is returned.

Applies to