Partager via


BaseFieldDeclarationSyntax.WithDeclaration(VariableDeclarationSyntax) Method

Definition

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

Parameters

Returns

Applies to