SyntaxFactory.ListPattern Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ListPattern(SeparatedSyntaxList<PatternSyntax>) |
Creates a new ListPatternSyntax instance. |
ListPattern(SeparatedSyntaxList<PatternSyntax>, VariableDesignationSyntax) |
Creates a new ListPatternSyntax instance. |
ListPattern(SyntaxToken, SeparatedSyntaxList<PatternSyntax>, SyntaxToken, VariableDesignationSyntax) |
Creates a new ListPatternSyntax instance. |
ListPattern(SeparatedSyntaxList<PatternSyntax>)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new ListPatternSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.ListPatternSyntax ListPattern (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax> patterns = default);
static member ListPattern : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.ListPatternSyntax
Public Shared Function ListPattern (Optional patterns As SeparatedSyntaxList(Of PatternSyntax) = Nothing) As ListPatternSyntax
Parameters
- patterns
- SeparatedSyntaxList<PatternSyntax>
Returns
Applies to
ListPattern(SeparatedSyntaxList<PatternSyntax>, VariableDesignationSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new ListPatternSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.ListPatternSyntax ListPattern (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax> patterns, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDesignationSyntax? designation);
static member ListPattern : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax> * Microsoft.CodeAnalysis.CSharp.Syntax.VariableDesignationSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ListPatternSyntax
Public Shared Function ListPattern (patterns As SeparatedSyntaxList(Of PatternSyntax), designation As VariableDesignationSyntax) As ListPatternSyntax
Parameters
- patterns
- SeparatedSyntaxList<PatternSyntax>
- designation
- VariableDesignationSyntax
Returns
Applies to
ListPattern(SyntaxToken, SeparatedSyntaxList<PatternSyntax>, SyntaxToken, VariableDesignationSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new ListPatternSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.ListPatternSyntax ListPattern (Microsoft.CodeAnalysis.SyntaxToken openBracketToken, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax> patterns, Microsoft.CodeAnalysis.SyntaxToken closeBracketToken, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDesignationSyntax? designation);
static member ListPattern : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.VariableDesignationSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ListPatternSyntax
Public Shared Function ListPattern (openBracketToken As SyntaxToken, patterns As SeparatedSyntaxList(Of PatternSyntax), closeBracketToken As SyntaxToken, designation As VariableDesignationSyntax) As ListPatternSyntax
Parameters
- openBracketToken
- SyntaxToken
- patterns
- SeparatedSyntaxList<PatternSyntax>
- closeBracketToken
- SyntaxToken
- designation
- VariableDesignationSyntax
Returns
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET