共用方式為


ExternalChecksumDirectiveTriviaSyntax.WithExternalSource(SyntaxToken) Method

Definition

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

Parameters

externalSource
SyntaxToken

Returns

Applies to