SyntaxFactory.ParenthesizedPattern 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
ParenthesizedPattern(SyntaxToken, PatternSyntax, SyntaxToken) |
Creates a new ParenthesizedPatternSyntax instance. |
ParenthesizedPattern(PatternSyntax) |
Creates a new ParenthesizedPatternSyntax instance. |
ParenthesizedPattern(SyntaxToken, PatternSyntax, SyntaxToken)
- 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
- 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 ParenthesizedPatternSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.ParenthesizedPatternSyntax ParenthesizedPattern (Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax pattern, Microsoft.CodeAnalysis.SyntaxToken closeParenToken);
static member ParenthesizedPattern : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ParenthesizedPatternSyntax
Public Shared Function ParenthesizedPattern (openParenToken As SyntaxToken, pattern As PatternSyntax, closeParenToken As SyntaxToken) As ParenthesizedPatternSyntax
Parameters
- openParenToken
- SyntaxToken
- pattern
- PatternSyntax
- closeParenToken
- SyntaxToken
Returns
Applies to
ParenthesizedPattern(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
- 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 ParenthesizedPatternSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.ParenthesizedPatternSyntax ParenthesizedPattern (Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax pattern);
static member ParenthesizedPattern : Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ParenthesizedPatternSyntax
Public Shared Function ParenthesizedPattern (pattern As PatternSyntax) As ParenthesizedPatternSyntax
Parameters
- pattern
- PatternSyntax
Returns
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.