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