SyntaxFactory.ParenthesizedPattern 方法

定义

重载

ParenthesizedPattern(SyntaxToken, PatternSyntax, SyntaxToken)

创建新的 ParenthesizedPatternSyntax 实例。

ParenthesizedPattern(PatternSyntax)

创建新的 ParenthesizedPatternSyntax 实例。

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

创建新的 ParenthesizedPatternSyntax 实例。

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

参数

openParenToken
SyntaxToken
pattern
PatternSyntax
closeParenToken
SyntaxToken

返回

适用于

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

创建新的 ParenthesizedPatternSyntax 实例。

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

参数

pattern
PatternSyntax

返回

适用于