Partilhar via


ExternalChecksumDirectiveTriviaSyntax.WithChecksum(SyntaxToken) Method

Definition

Returns a copy of this with the Checksum 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::ExternalChecksumDirectiveTriviaSyntax ^ WithChecksum(Microsoft::CodeAnalysis::SyntaxToken checksum);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ExternalChecksumDirectiveTriviaSyntax WithChecksum (Microsoft.CodeAnalysis.SyntaxToken checksum);
member this.WithChecksum : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ExternalChecksumDirectiveTriviaSyntax
Public Function WithChecksum (checksum As SyntaxToken) As ExternalChecksumDirectiveTriviaSyntax

Parameters

checksum
SyntaxToken

Returns

Applies to