SyntaxFactory.Subpattern 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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