共用方式為


SyntaxFactory.Subpattern 方法

定義

多載

Subpattern(PatternSyntax)

建立新的 SubpatternSyntax 實例。

Subpattern(BaseExpressionColonSyntax, PatternSyntax)

建立新的 SubpatternSyntax 實例。

Subpattern(NameColonSyntax, PatternSyntax)

建立新的 SubpatternSyntax 實例。

Subpattern(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
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

建立新的 SubpatternSyntax 實例。

public static Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax Subpattern (Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax pattern);
static member Subpattern : Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax
Public Shared Function Subpattern (pattern As PatternSyntax) As SubpatternSyntax

參數

pattern
PatternSyntax

傳回

適用於

Subpattern(BaseExpressionColonSyntax, 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

建立新的 SubpatternSyntax 實例。

public static Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax Subpattern (Microsoft.CodeAnalysis.CSharp.Syntax.BaseExpressionColonSyntax? expressionColon, Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax pattern);
static member Subpattern : Microsoft.CodeAnalysis.CSharp.Syntax.BaseExpressionColonSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax
Public Shared Function Subpattern (expressionColon As BaseExpressionColonSyntax, pattern As PatternSyntax) As SubpatternSyntax

參數

expressionColon
BaseExpressionColonSyntax
pattern
PatternSyntax

傳回

適用於

Subpattern(NameColonSyntax, 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:
SubpatternSyntax.cs
Source:
SubpatternSyntax.cs
Source:
SubpatternSyntax.cs
Source:
SubpatternSyntax.cs
Source:
SubpatternSyntax.cs
Source:
SubpatternSyntax.cs
Source:
SubpatternSyntax.cs
Source:
SubpatternSyntax.cs
Source:
SubpatternSyntax.cs
Source:
SubpatternSyntax.cs

建立新的 SubpatternSyntax 實例。

public static Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax Subpattern (Microsoft.CodeAnalysis.CSharp.Syntax.NameColonSyntax nameColon, Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax pattern);
public static Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax Subpattern (Microsoft.CodeAnalysis.CSharp.Syntax.NameColonSyntax? nameColon, Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax pattern);
static member Subpattern : Microsoft.CodeAnalysis.CSharp.Syntax.NameColonSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax
Public Shared Function Subpattern (nameColon As NameColonSyntax, pattern As PatternSyntax) As SubpatternSyntax

參數

nameColon
NameColonSyntax
pattern
PatternSyntax

傳回

適用於