Поделиться через


BaseFieldDeclarationSyntax.WithDeclaration(VariableDeclarationSyntax) Метод

Определение

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

Параметры

Возвращаемое значение

Применяется к