次の方法で共有


ReferenceDirectiveTriviaSyntax.WithReferenceKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the ReferenceKeyword property changed to the specified value. Returns this instance if the specified value is the same as the current value.

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

Parameters

referenceKeyword
SyntaxToken

Returns

Applies to