SyntaxFactory.NamedFieldInitializer Metodo

Definizione

Overload

NamedFieldInitializer(SyntaxToken, SyntaxToken, IdentifierNameSyntax, SyntaxToken, ExpressionSyntax)

Rappresenta un inizializzatore di campo denominato in un inizializzatore With {...} , ad esempio ".x = expr".

NamedFieldInitializer(IdentifierNameSyntax, ExpressionSyntax)

Rappresenta un inizializzatore di campo denominato in un inizializzatore With {...} , ad esempio ".x = expr".

NamedFieldInitializer(SyntaxToken, SyntaxToken, IdentifierNameSyntax, SyntaxToken, ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Rappresenta un inizializzatore di campo denominato in un inizializzatore With {...} , ad esempio ".x = expr".

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::NamedFieldInitializerSyntax ^ NamedFieldInitializer(Microsoft::CodeAnalysis::SyntaxToken keyKeyword, Microsoft::CodeAnalysis::SyntaxToken dotToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::IdentifierNameSyntax ^ name, Microsoft::CodeAnalysis::SyntaxToken equalsToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.NamedFieldInitializerSyntax NamedFieldInitializer (Microsoft.CodeAnalysis.SyntaxToken keyKeyword, Microsoft.CodeAnalysis.SyntaxToken dotToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax name, Microsoft.CodeAnalysis.SyntaxToken equalsToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression);
static member NamedFieldInitializer : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.NamedFieldInitializerSyntax
Public Shared Function NamedFieldInitializer (keyKeyword As SyntaxToken, dotToken As SyntaxToken, name As IdentifierNameSyntax, equalsToken As SyntaxToken, expression As ExpressionSyntax) As NamedFieldInitializerSyntax

Parametri

keyKeyword
SyntaxToken

Parola chiave facoltativa "Key".

dotToken
SyntaxToken

Token ".".

name
IdentifierNameSyntax

Nome del campo inizializzato.

equalsToken
SyntaxToken

Token "=".

expression
ExpressionSyntax

Valore assegnato al campo.

Restituisce

Si applica a

NamedFieldInitializer(IdentifierNameSyntax, ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Rappresenta un inizializzatore di campo denominato in un inizializzatore With {...} , ad esempio ".x = expr".

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::NamedFieldInitializerSyntax ^ NamedFieldInitializer(Microsoft::CodeAnalysis::VisualBasic::Syntax::IdentifierNameSyntax ^ name, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.NamedFieldInitializerSyntax NamedFieldInitializer (Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax name, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression);
static member NamedFieldInitializer : Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.NamedFieldInitializerSyntax
Public Shared Function NamedFieldInitializer (name As IdentifierNameSyntax, expression As ExpressionSyntax) As NamedFieldInitializerSyntax

Parametri

name
IdentifierNameSyntax

Nome del campo inizializzato.

expression
ExpressionSyntax

Valore assegnato al campo.

Restituisce

Si applica a