Compartir a través de


SyntaxFactory.SlicePattern Método

Definición

Sobrecargas

SlicePattern(PatternSyntax)

Crea una nueva instancia de SlicePatternSyntax.

SlicePattern(SyntaxToken, PatternSyntax)

Crea una nueva instancia de SlicePatternSyntax.

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

Crea una nueva instancia de SlicePatternSyntax.

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

Parámetros

pattern
PatternSyntax

Devoluciones

Se aplica a

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

Crea una nueva instancia de SlicePatternSyntax.

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

Parámetros

dotDotToken
SyntaxToken
pattern
PatternSyntax

Devoluciones

Se aplica a