共用方式為


SyntaxFactory.VarPattern Method

Definition

Overloads

VarPattern(VariableDesignationSyntax)

Creates a new VarPatternSyntax instance.

VarPattern(SyntaxToken, VariableDesignationSyntax)

Creates a new VarPatternSyntax instance.

VarPattern(VariableDesignationSyntax)

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 VarPatternSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.VarPatternSyntax VarPattern (Microsoft.CodeAnalysis.CSharp.Syntax.VariableDesignationSyntax designation);
static member VarPattern : Microsoft.CodeAnalysis.CSharp.Syntax.VariableDesignationSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.VarPatternSyntax
Public Shared Function VarPattern (designation As VariableDesignationSyntax) As VarPatternSyntax

Parameters

Returns

Applies to

VarPattern(SyntaxToken, VariableDesignationSyntax)

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 VarPatternSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.VarPatternSyntax VarPattern (Microsoft.CodeAnalysis.SyntaxToken varKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDesignationSyntax designation);
static member VarPattern : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.VariableDesignationSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.VarPatternSyntax
Public Shared Function VarPattern (varKeyword As SyntaxToken, designation As VariableDesignationSyntax) As VarPatternSyntax

Parameters

varKeyword
SyntaxToken

Returns

Applies to