SyntaxFactory.SpreadElement 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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