共用方式為


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

傳回

適用於