共用方式為


LineOrSpanDirectiveTriviaSyntax.WithFile(SyntaxToken) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.LineOrSpanDirectiveTriviaSyntax WithFile (Microsoft.CodeAnalysis.SyntaxToken file);
member this.WithFile : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.LineOrSpanDirectiveTriviaSyntax
Public Function WithFile (file As SyntaxToken) As LineOrSpanDirectiveTriviaSyntax

Parameters

Returns

Applies to