다음을 통해 공유


BaseMethodDeclarationSyntax.WithBody(BlockSyntax) 메서드

정의

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::BaseMethodDeclarationSyntax ^ WithBody(Microsoft::CodeAnalysis::CSharp::Syntax::BlockSyntax ^ body);
public Microsoft.CodeAnalysis.CSharp.Syntax.BaseMethodDeclarationSyntax WithBody (Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax body);
public Microsoft.CodeAnalysis.CSharp.Syntax.BaseMethodDeclarationSyntax WithBody (Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax? body);
member this.WithBody : Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.BaseMethodDeclarationSyntax
Public Function WithBody (body As BlockSyntax) As BaseMethodDeclarationSyntax

매개 변수

반환

적용 대상