共用方式為


SyntaxFactory.InferredFieldInitializer Method

Definition

Overloads

InferredFieldInitializer(ExpressionSyntax)

Represent a field initializer in a With {...} initializer where the field name is inferred from the initializer expression.

InferredFieldInitializer(SyntaxToken, ExpressionSyntax)

Represent a field initializer in a With {...} initializer where the field name is inferred from the initializer expression.

InferredFieldInitializer(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

Represent a field initializer in a With {...} initializer where the field name is inferred from the initializer expression.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::InferredFieldInitializerSyntax ^ InferredFieldInitializer(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.InferredFieldInitializerSyntax InferredFieldInitializer (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression);
static member InferredFieldInitializer : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.InferredFieldInitializerSyntax
Public Shared Function InferredFieldInitializer (expression As ExpressionSyntax) As InferredFieldInitializerSyntax

Parameters

expression
ExpressionSyntax

The value being assigned.

Returns

Applies to

InferredFieldInitializer(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

Represent a field initializer in a With {...} initializer where the field name is inferred from the initializer expression.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::InferredFieldInitializerSyntax ^ InferredFieldInitializer(Microsoft::CodeAnalysis::SyntaxToken keyKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.InferredFieldInitializerSyntax InferredFieldInitializer (Microsoft.CodeAnalysis.SyntaxToken keyKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression);
static member InferredFieldInitializer : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.InferredFieldInitializerSyntax
Public Shared Function InferredFieldInitializer (keyKeyword As SyntaxToken, expression As ExpressionSyntax) As InferredFieldInitializerSyntax

Parameters

keyKeyword
SyntaxToken

The optional "Key" keyword.

expression
ExpressionSyntax

The value being assigned.

Returns

Applies to