Partager via


SkippedTokensTriviaSyntax.WithTokens(SyntaxTokenList) Method

Definition

Returns a copy of this with the Tokens 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::SkippedTokensTriviaSyntax ^ WithTokens(Microsoft::CodeAnalysis::SyntaxTokenList tokens);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.SkippedTokensTriviaSyntax WithTokens (Microsoft.CodeAnalysis.SyntaxTokenList tokens);
member this.WithTokens : Microsoft.CodeAnalysis.SyntaxTokenList -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SkippedTokensTriviaSyntax
Public Function WithTokens (tokens As SyntaxTokenList) As SkippedTokensTriviaSyntax

Parameters

Returns

Applies to