共用方式為


RaiseEventStatementSyntax.WithRaiseEventKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the RaiseEventKeyword property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::RaiseEventStatementSyntax ^ WithRaiseEventKeyword(Microsoft::CodeAnalysis::SyntaxToken raiseEventKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.RaiseEventStatementSyntax WithRaiseEventKeyword (Microsoft.CodeAnalysis.SyntaxToken raiseEventKeyword);
member this.WithRaiseEventKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.RaiseEventStatementSyntax
Public Function WithRaiseEventKeyword (raiseEventKeyword As SyntaxToken) As RaiseEventStatementSyntax

Parameters

raiseEventKeyword
SyntaxToken

Returns

Applies to