共用方式為


SyntaxFactory.VariableDeclarator 方法

定義

多載

VariableDeclarator(SyntaxToken)

建立新的 VariableDeclaratorSyntax 實例。

VariableDeclarator(String)

建立新的 VariableDeclaratorSyntax 實例。

VariableDeclarator(SyntaxToken, BracketedArgumentListSyntax, EqualsValueClauseSyntax)

建立新的 VariableDeclaratorSyntax 實例。

VariableDeclarator(SyntaxToken)

來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs

建立新的 VariableDeclaratorSyntax 實例。

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::VariableDeclaratorSyntax ^ VariableDeclarator(Microsoft::CodeAnalysis::SyntaxToken identifier);
public static Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax VariableDeclarator (Microsoft.CodeAnalysis.SyntaxToken identifier);
static member VariableDeclarator : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax
Public Shared Function VariableDeclarator (identifier As SyntaxToken) As VariableDeclaratorSyntax

參數

identifier
SyntaxToken

傳回

適用於

VariableDeclarator(String)

來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs

建立新的 VariableDeclaratorSyntax 實例。

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::VariableDeclaratorSyntax ^ VariableDeclarator(System::String ^ identifier);
public static Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax VariableDeclarator (string identifier);
static member VariableDeclarator : string -> Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax
Public Shared Function VariableDeclarator (identifier As String) As VariableDeclaratorSyntax

參數

identifier
String

傳回

適用於

VariableDeclarator(SyntaxToken, BracketedArgumentListSyntax, EqualsValueClauseSyntax)

來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs

建立新的 VariableDeclaratorSyntax 實例。

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::VariableDeclaratorSyntax ^ VariableDeclarator(Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::CSharp::Syntax::BracketedArgumentListSyntax ^ argumentList, Microsoft::CodeAnalysis::CSharp::Syntax::EqualsValueClauseSyntax ^ initializer);
public static Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax VariableDeclarator (Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.BracketedArgumentListSyntax argumentList, Microsoft.CodeAnalysis.CSharp.Syntax.EqualsValueClauseSyntax initializer);
public static Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax VariableDeclarator (Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.BracketedArgumentListSyntax? argumentList, Microsoft.CodeAnalysis.CSharp.Syntax.EqualsValueClauseSyntax? initializer);
static member VariableDeclarator : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.BracketedArgumentListSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.EqualsValueClauseSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax
Public Shared Function VariableDeclarator (identifier As SyntaxToken, argumentList As BracketedArgumentListSyntax, initializer As EqualsValueClauseSyntax) As VariableDeclaratorSyntax

參數

identifier
SyntaxToken

傳回

適用於