共用方式為


RaiseEventStatementSyntax.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::RaiseEventStatementSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken raiseEventKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::IdentifierNameSyntax ^ name, Microsoft::CodeAnalysis::VisualBasic::Syntax::ArgumentListSyntax ^ argumentList);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.RaiseEventStatementSyntax Update (Microsoft.CodeAnalysis.SyntaxToken raiseEventKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax name, Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax argumentList);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.RaiseEventStatementSyntax
Public Function Update (raiseEventKeyword As SyntaxToken, name As IdentifierNameSyntax, argumentList As ArgumentListSyntax) As RaiseEventStatementSyntax

Parameters

raiseEventKeyword
SyntaxToken

The value for the RaiseEventKeyword property.

name
IdentifierNameSyntax

The value for the Name property.

argumentList
ArgumentListSyntax

The value for the ArgumentList property.

Returns

Applies to