ConstructorBlockSyntax.WithEndSubStatement(EndBlockStatementSyntax) 方法

定义

返回一个副本,其中 EndSubStatement 属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ConstructorBlockSyntax ^ WithEndSubStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endSubStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstructorBlockSyntax WithEndSubStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endSubStatement);
member this.WithEndSubStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstructorBlockSyntax
Public Function WithEndSubStatement (endSubStatement As EndBlockStatementSyntax) As ConstructorBlockSyntax

参数

endSubStatement
EndBlockStatementSyntax

返回

适用于