共用方式為


ReferenceDirectiveTriviaSyntax.WithReferenceKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ReferenceDirectiveTriviaSyntax ^ WithReferenceKeyword(Microsoft::CodeAnalysis::SyntaxToken referenceKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.ReferenceDirectiveTriviaSyntax WithReferenceKeyword (Microsoft.CodeAnalysis.SyntaxToken referenceKeyword);
member this.WithReferenceKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ReferenceDirectiveTriviaSyntax
Public Function WithReferenceKeyword (referenceKeyword As SyntaxToken) As ReferenceDirectiveTriviaSyntax

Parameters

referenceKeyword
SyntaxToken

Returns

Applies to