次の方法で共有


SyntaxFactory.ExpressionColon(ExpressionSyntax, SyntaxToken) Method

Definition

Creates a new ExpressionColonSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionColonSyntax ExpressionColon (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SyntaxToken colonToken);
static member ExpressionColon : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionColonSyntax
Public Shared Function ExpressionColon (expression As ExpressionSyntax, colonToken As SyntaxToken) As ExpressionColonSyntax

Parameters

expression
ExpressionSyntax
colonToken
SyntaxToken

Returns

Applies to