共用方式為


QueryExpressionSyntax.WithBody(QueryBodySyntax) 方法

定義

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

參數

傳回

適用於