SyntaxFactory.InferredFieldInitializer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
- 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.