ExternalSourceDirectiveTriviaSyntax.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::ExternalSourceDirectiveTriviaSyntax ^ WithExternalSource(Microsoft::CodeAnalysis::SyntaxToken externalSource);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ExternalSourceDirectiveTriviaSyntax WithExternalSource (Microsoft.CodeAnalysis.SyntaxToken externalSource);
member this.WithExternalSource : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ExternalSourceDirectiveTriviaSyntax
Public Function WithExternalSource (externalSource As SyntaxToken) As ExternalSourceDirectiveTriviaSyntax

Parameters

externalSource
SyntaxToken

Returns

Applies to