共用方式為


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

傳回

適用於