次の方法で共有


EventBlockSyntax.WithEndEventStatement(EndBlockStatementSyntax) Method

Definition

Returns a copy of this with the EndEventStatement 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::EventBlockSyntax ^ WithEndEventStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endEventStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.EventBlockSyntax WithEndEventStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endEventStatement);
member this.WithEndEventStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EventBlockSyntax
Public Function WithEndEventStatement (endEventStatement As EndBlockStatementSyntax) As EventBlockSyntax

Parameters

endEventStatement
EndBlockStatementSyntax

Returns

Applies to