다음을 통해 공유


EnumBlockSyntax.Update Method

Definition

Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::EnumBlockSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::EnumStatementSyntax ^ enumStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> members, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endEnumStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumBlockSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumStatementSyntax enumStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> members, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endEnumStatement);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumBlockSyntax
Public Function Update (enumStatement As EnumStatementSyntax, members As SyntaxList(Of StatementSyntax), endEnumStatement As EndBlockStatementSyntax) As EnumBlockSyntax

Parameters

enumStatement
EnumStatementSyntax

The value for the EnumStatement property.

members
SyntaxList<StatementSyntax>

The value for the Members property.

endEnumStatement
EndBlockStatementSyntax

The value for the EndEnumStatement property.

Returns

Applies to