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
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
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.