TypeBlockSyntax.WithEndBlockStatement(EndBlockStatementSyntax) 方法

定义

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

public:
 abstract Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeBlockSyntax ^ WithEndBlockStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endBlockStatement);
public abstract Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeBlockSyntax WithEndBlockStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endBlockStatement);
abstract member WithEndBlockStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeBlockSyntax
Public MustOverride Function WithEndBlockStatement (endBlockStatement As EndBlockStatementSyntax) As TypeBlockSyntax

参数

endBlockStatement
EndBlockStatementSyntax

返回

适用于