共用方式為


DelegateStatementSyntax.WithDelegateKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the DelegateKeyword 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::DelegateStatementSyntax ^ WithDelegateKeyword(Microsoft::CodeAnalysis::SyntaxToken delegateKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.DelegateStatementSyntax WithDelegateKeyword (Microsoft.CodeAnalysis.SyntaxToken delegateKeyword);
member this.WithDelegateKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DelegateStatementSyntax
Public Function WithDelegateKeyword (delegateKeyword As SyntaxToken) As DelegateStatementSyntax

Parameters

delegateKeyword
SyntaxToken

Returns

Applies to