Share via


OperatorBlockSyntax.WithEndOperatorStatement(EndBlockStatementSyntax) Method

Definition

Returns a copy of this with the EndOperatorStatement 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::OperatorBlockSyntax ^ WithEndOperatorStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endOperatorStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorBlockSyntax WithEndOperatorStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endOperatorStatement);
member this.WithEndOperatorStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorBlockSyntax
Public Function WithEndOperatorStatement (endOperatorStatement As EndBlockStatementSyntax) As OperatorBlockSyntax

Parameters

endOperatorStatement
EndBlockStatementSyntax

Returns

Applies to