Partilhar via


SyntaxFactory.Interpolation Method

Definition

Overloads

Interpolation(ExpressionSyntax, InterpolationAlignmentClauseSyntax)

Represents an interpolation of an expression in an interpolated string expression e.g. '{expression[,alignment][:formatString]}'.

Interpolation(SyntaxToken, ExpressionSyntax, InterpolationAlignmentClauseSyntax, InterpolationFormatClauseSyntax, SyntaxToken)

Represents an interpolation of an expression in an interpolated string expression e.g. '{expression[,alignment][:formatString]}'.

Interpolation(ExpressionSyntax)

Represents an interpolation of an expression in an interpolated string expression e.g. '{expression[,alignment][:formatString]}'.

Interpolation(ExpressionSyntax, InterpolationAlignmentClauseSyntax)

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

Represents an interpolation of an expression in an interpolated string expression e.g. '{expression[,alignment][:formatString]}'.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::InterpolationSyntax ^ Interpolation(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::VisualBasic::Syntax::InterpolationAlignmentClauseSyntax ^ alignmentClause);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolationSyntax Interpolation (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolationAlignmentClauseSyntax alignmentClause);
static member Interpolation : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolationAlignmentClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolationSyntax
Public Shared Function Interpolation (expression As ExpressionSyntax, alignmentClause As InterpolationAlignmentClauseSyntax) As InterpolationSyntax

Parameters

expression
ExpressionSyntax

The expression whose formatted value should be embedded in the resultant string.

alignmentClause
InterpolationAlignmentClauseSyntax

Optional. The alignment clause ',alignment' of the embedded expression.

Returns

Applies to

Interpolation(SyntaxToken, ExpressionSyntax, InterpolationAlignmentClauseSyntax, InterpolationFormatClauseSyntax, SyntaxToken)

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

Represents an interpolation of an expression in an interpolated string expression e.g. '{expression[,alignment][:formatString]}'.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::InterpolationSyntax ^ Interpolation(Microsoft::CodeAnalysis::SyntaxToken openBraceToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::VisualBasic::Syntax::InterpolationAlignmentClauseSyntax ^ alignmentClause, Microsoft::CodeAnalysis::VisualBasic::Syntax::InterpolationFormatClauseSyntax ^ formatClause, Microsoft::CodeAnalysis::SyntaxToken closeBraceToken);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolationSyntax Interpolation (Microsoft.CodeAnalysis.SyntaxToken openBraceToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolationAlignmentClauseSyntax alignmentClause, Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolationFormatClauseSyntax formatClause, Microsoft.CodeAnalysis.SyntaxToken closeBraceToken);
static member Interpolation : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolationAlignmentClauseSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolationFormatClauseSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolationSyntax
Public Shared Function Interpolation (openBraceToken As SyntaxToken, expression As ExpressionSyntax, alignmentClause As InterpolationAlignmentClauseSyntax, formatClause As InterpolationFormatClauseSyntax, closeBraceToken As SyntaxToken) As InterpolationSyntax

Parameters

openBraceToken
SyntaxToken

The opening curly brace '{' token.

expression
ExpressionSyntax

The expression whose formatted value should be embedded in the resultant string.

alignmentClause
InterpolationAlignmentClauseSyntax

Optional. The alignment clause ',alignment' of the embedded expression.

formatClause
InterpolationFormatClauseSyntax

Optional. The format string clause ':formatString' of the embedded expression.

closeBraceToken
SyntaxToken

The closing curly brace '}' token of the embedded expression.

Returns

Applies to

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

Represents an interpolation of an expression in an interpolated string expression e.g. '{expression[,alignment][:formatString]}'.

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

Parameters

expression
ExpressionSyntax

The expression whose formatted value should be embedded in the resultant string.

Returns

Applies to