TryBlockSyntax.WithEndTryStatement(EndBlockStatementSyntax) 方法

定义

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

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::TryBlockSyntax ^ WithEndTryStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endTryStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.TryBlockSyntax WithEndTryStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endTryStatement);
member this.WithEndTryStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.TryBlockSyntax
Public Function WithEndTryStatement (endTryStatement As EndBlockStatementSyntax) As TryBlockSyntax

参数

endTryStatement
EndBlockStatementSyntax

返回

适用于