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 で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET