共用方式為


SyntaxFactory.QueryExpression(FromClauseSyntax, QueryBodySyntax) Method

Definition

Creates a new QueryExpressionSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::QueryExpressionSyntax ^ QueryExpression(Microsoft::CodeAnalysis::CSharp::Syntax::FromClauseSyntax ^ fromClause, Microsoft::CodeAnalysis::CSharp::Syntax::QueryBodySyntax ^ body);
public static Microsoft.CodeAnalysis.CSharp.Syntax.QueryExpressionSyntax QueryExpression (Microsoft.CodeAnalysis.CSharp.Syntax.FromClauseSyntax fromClause, Microsoft.CodeAnalysis.CSharp.Syntax.QueryBodySyntax body);
static member QueryExpression : Microsoft.CodeAnalysis.CSharp.Syntax.FromClauseSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.QueryBodySyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.QueryExpressionSyntax
Public Shared Function QueryExpression (fromClause As FromClauseSyntax, body As QueryBodySyntax) As QueryExpressionSyntax

Parameters

fromClause
FromClauseSyntax

Returns

Applies to