共用方式為


MethodBlockSyntax.WithEndBlockStatement(EndBlockStatementSyntax) 方法

定義

public:
 override Microsoft::CodeAnalysis::VisualBasic::Syntax::MethodBlockBaseSyntax ^ WithEndBlockStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endBlockStatement);
public override Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBlockBaseSyntax WithEndBlockStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endBlockStatement);
override this.WithEndBlockStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBlockBaseSyntax
Public Overrides Function WithEndBlockStatement (endBlockStatement As EndBlockStatementSyntax) As MethodBlockBaseSyntax

參數

endBlockStatement
EndBlockStatementSyntax

傳回

適用於