Udostępnij za pośrednictwem


FieldDeclarationSyntax.WithDeclaration(VariableDeclarationSyntax) Method

Definition

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

Parameters

Returns

Applies to