SyntaxFactory.ExpressionElement(ExpressionSyntax) 方法

定义

创建新的 ExpressionElementSyntax 实例。

public static Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionElementSyntax ExpressionElement (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression);
static member ExpressionElement : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionElementSyntax
Public Shared Function ExpressionElement (expression As ExpressionSyntax) As ExpressionElementSyntax

参数

expression
ExpressionSyntax

返回

适用于