SyntaxFactory.Subpattern 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
Subpattern(PatternSyntax) |
Creates a new SubpatternSyntax instance. |
Subpattern(BaseExpressionColonSyntax, PatternSyntax) |
Creates a new SubpatternSyntax instance. |
Subpattern(NameColonSyntax, PatternSyntax) |
Creates a new SubpatternSyntax instance. |
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
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new SubpatternSyntax instance.
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
Parameters
- pattern
- PatternSyntax
Returns
Applies to
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
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new SubpatternSyntax instance.
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
Parameters
- expressionColon
- BaseExpressionColonSyntax
- pattern
- PatternSyntax
Returns
Applies to
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
- Source:
- SubpatternSyntax.cs
Creates a new SubpatternSyntax instance.
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
Parameters
- nameColon
- NameColonSyntax
- pattern
- PatternSyntax
Returns
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.