共用方式為


MultiLineIfBlockSyntax.WithElseIfBlocks Method

Definition

Returns a copy of this with the ElseIfBlocks property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::MultiLineIfBlockSyntax ^ WithElseIfBlocks(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseIfBlockSyntax ^> elseIfBlocks);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.MultiLineIfBlockSyntax WithElseIfBlocks (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfBlockSyntax> elseIfBlocks);
member this.WithElseIfBlocks : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfBlockSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MultiLineIfBlockSyntax
Public Function WithElseIfBlocks (elseIfBlocks As SyntaxList(Of ElseIfBlockSyntax)) As MultiLineIfBlockSyntax

Parameters

Returns

Applies to