WithBlockSyntax.WithEndWithStatement(EndBlockStatementSyntax) 方法

定义

返回具有 EndWithStatement 属性更改为指定值的副本。 如果指定的值与当前值相同,则返回此实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::WithBlockSyntax ^ WithEndWithStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endWithStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.WithBlockSyntax WithEndWithStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endWithStatement);
member this.WithEndWithStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.WithBlockSyntax
Public Function WithEndWithStatement (endWithStatement As EndBlockStatementSyntax) As WithBlockSyntax

参数

endWithStatement
EndBlockStatementSyntax

返回

适用于