Share via


EventFieldDeclarationSyntax.WithDeclaration(VariableDeclarationSyntax) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::EventFieldDeclarationSyntax ^ WithDeclaration(Microsoft::CodeAnalysis::CSharp::Syntax::VariableDeclarationSyntax ^ declaration);
public Microsoft.CodeAnalysis.CSharp.Syntax.EventFieldDeclarationSyntax WithDeclaration (Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax declaration);
override this.WithDeclaration : Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.EventFieldDeclarationSyntax
Public Function WithDeclaration (declaration As VariableDeclarationSyntax) As EventFieldDeclarationSyntax

Parameters

Returns

Applies to