SyntaxFactory.SpreadElement 方法

定义

重载

SpreadElement(ExpressionSyntax)

创建新的 SpreadElementSyntax 实例。

SpreadElement(SyntaxToken, ExpressionSyntax)

创建新的 SpreadElementSyntax 实例。

SpreadElement(ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

创建新的 SpreadElementSyntax 实例。

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

参数

expression
ExpressionSyntax

返回

适用于

SpreadElement(SyntaxToken, ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

创建新的 SpreadElementSyntax 实例。

public static Microsoft.CodeAnalysis.CSharp.Syntax.SpreadElementSyntax SpreadElement (Microsoft.CodeAnalysis.SyntaxToken operatorToken, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression);
static member SpreadElement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SpreadElementSyntax
Public Shared Function SpreadElement (operatorToken As SyntaxToken, expression As ExpressionSyntax) As SpreadElementSyntax

参数

operatorToken
SyntaxToken
expression
ExpressionSyntax

返回

适用于