共用方式為


SubpatternSyntax.WithNameColon(NameColonSyntax) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax WithNameColon (Microsoft.CodeAnalysis.CSharp.Syntax.NameColonSyntax nameColon);
public Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax WithNameColon (Microsoft.CodeAnalysis.CSharp.Syntax.NameColonSyntax? nameColon);
member this.WithNameColon : Microsoft.CodeAnalysis.CSharp.Syntax.NameColonSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SubpatternSyntax
Public Function WithNameColon (nameColon As NameColonSyntax) As SubpatternSyntax

Parameters

nameColon
NameColonSyntax

Returns

Applies to