다음을 통해 공유


BaseMethodDeclarationSyntax.WithExpressionBody 메서드

정의

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::BaseMethodDeclarationSyntax ^ WithExpressionBody(Microsoft::CodeAnalysis::CSharp::Syntax::ArrowExpressionClauseSyntax ^ expressionBody);
public Microsoft.CodeAnalysis.CSharp.Syntax.BaseMethodDeclarationSyntax WithExpressionBody (Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax expressionBody);
public Microsoft.CodeAnalysis.CSharp.Syntax.BaseMethodDeclarationSyntax WithExpressionBody (Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax? expressionBody);
member this.WithExpressionBody : Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.BaseMethodDeclarationSyntax
Public Function WithExpressionBody (expressionBody As ArrowExpressionClauseSyntax) As BaseMethodDeclarationSyntax

매개 변수

반환

적용 대상