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에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET