次の方法で共有


MethodDeclarationSyntax.WithBody(BlockSyntax) メソッド

定義

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

パラメーター

戻り値

適用対象