SyntaxFactory.SlicePattern 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
SlicePattern(PatternSyntax) |
Creates a new SlicePatternSyntax instance. |
SlicePattern(SyntaxToken, PatternSyntax) |
Creates a new SlicePatternSyntax instance. |
SlicePattern(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
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new SlicePatternSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.SlicePatternSyntax SlicePattern (Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax? pattern = default);
static member SlicePattern : Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SlicePatternSyntax
Public Shared Function SlicePattern (Optional pattern As PatternSyntax = Nothing) As SlicePatternSyntax
Parameters
- pattern
- PatternSyntax
Returns
Applies to
SlicePattern(SyntaxToken, 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
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new SlicePatternSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.SlicePatternSyntax SlicePattern (Microsoft.CodeAnalysis.SyntaxToken dotDotToken, Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax? pattern);
static member SlicePattern : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SlicePatternSyntax
Public Shared Function SlicePattern (dotDotToken As SyntaxToken, pattern As PatternSyntax) As SlicePatternSyntax
Parameters
- dotDotToken
- SyntaxToken
- pattern
- PatternSyntax
Returns
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.