Partilhar via


SyntaxFactory.CollectionExpression Método

Definição

Sobrecargas

CollectionExpression(SeparatedSyntaxList<CollectionElementSyntax>)

Cria uma nova instância CollectionExpressionSyntax.

CollectionExpression(SyntaxToken, SeparatedSyntaxList<CollectionElementSyntax>, SyntaxToken)

Cria uma nova instância CollectionExpressionSyntax.

CollectionExpression(SeparatedSyntaxList<CollectionElementSyntax>)

Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs

Cria uma nova instância CollectionExpressionSyntax.

public static Microsoft.CodeAnalysis.CSharp.Syntax.CollectionExpressionSyntax CollectionExpression (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.CollectionElementSyntax> elements = default);
static member CollectionExpression : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.CollectionElementSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.CollectionExpressionSyntax
Public Shared Function CollectionExpression (Optional elements As SeparatedSyntaxList(Of CollectionElementSyntax) = Nothing) As CollectionExpressionSyntax

Parâmetros

Retornos

Aplica-se a

CollectionExpression(SyntaxToken, SeparatedSyntaxList<CollectionElementSyntax>, SyntaxToken)

Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs

Cria uma nova instância CollectionExpressionSyntax.

public static Microsoft.CodeAnalysis.CSharp.Syntax.CollectionExpressionSyntax CollectionExpression (Microsoft.CodeAnalysis.SyntaxToken openBracketToken, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.CollectionElementSyntax> elements, Microsoft.CodeAnalysis.SyntaxToken closeBracketToken);
static member CollectionExpression : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.CollectionElementSyntax> * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.CollectionExpressionSyntax
Public Shared Function CollectionExpression (openBracketToken As SyntaxToken, elements As SeparatedSyntaxList(Of CollectionElementSyntax), closeBracketToken As SyntaxToken) As CollectionExpressionSyntax

Parâmetros

openBracketToken
SyntaxToken
closeBracketToken
SyntaxToken

Retornos

Aplica-se a