共用方式為


SubpatternSyntax.WithExpressionColon(BaseExpressionColonSyntax) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax WithExpressionColon (Microsoft.CodeAnalysis.CSharp.Syntax.BaseExpressionColonSyntax? expressionColon);
member this.WithExpressionColon : Microsoft.CodeAnalysis.CSharp.Syntax.BaseExpressionColonSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax
Public Function WithExpressionColon (expressionColon As BaseExpressionColonSyntax) As SubpatternSyntax

Parameters

expressionColon
BaseExpressionColonSyntax

Returns

Applies to