Delen via


OperatorDeclarationSyntax.WithBody(BlockSyntax) Method

Definition

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

Parameters

Returns

Applies to