EnumBlockSyntax.WithEndEnumStatement(EndBlockStatementSyntax) 方法

定义

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

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::EnumBlockSyntax ^ WithEndEnumStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endEnumStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumBlockSyntax WithEndEnumStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endEnumStatement);
member this.WithEndEnumStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumBlockSyntax
Public Function WithEndEnumStatement (endEnumStatement As EndBlockStatementSyntax) As EnumBlockSyntax

参数

endEnumStatement
EndBlockStatementSyntax

返回

适用于