共用方式為


DelegateDeclarationSyntax.WithDelegateKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::DelegateDeclarationSyntax ^ WithDelegateKeyword(Microsoft::CodeAnalysis::SyntaxToken delegateKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.DelegateDeclarationSyntax WithDelegateKeyword (Microsoft.CodeAnalysis.SyntaxToken delegateKeyword);
member this.WithDelegateKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.DelegateDeclarationSyntax
Public Function WithDelegateKeyword (delegateKeyword As SyntaxToken) As DelegateDeclarationSyntax

Parameters

delegateKeyword
SyntaxToken

Returns

Applies to