共用方式為


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

傳回

適用於