StructureBlockSyntax.WithEndStructureStatement 方法

定义

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

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::StructureBlockSyntax ^ WithEndStructureStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endStructureStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureBlockSyntax WithEndStructureStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endStructureStatement);
member this.WithEndStructureStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureBlockSyntax
Public Function WithEndStructureStatement (endStructureStatement As EndBlockStatementSyntax) As StructureBlockSyntax

参数

endStructureStatement
EndBlockStatementSyntax

返回

适用于