Share via


XmlTextSyntax.WithTextTokens(SyntaxTokenList) Method

Definition

Returns a copy of this with the TextTokens 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::XmlTextSyntax ^ WithTextTokens(Microsoft::CodeAnalysis::SyntaxTokenList textTokens);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlTextSyntax WithTextTokens (Microsoft.CodeAnalysis.SyntaxTokenList textTokens);
member this.WithTextTokens : Microsoft.CodeAnalysis.SyntaxTokenList -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlTextSyntax
Public Function WithTextTokens (textTokens As SyntaxTokenList) As XmlTextSyntax

Parameters

textTokens
SyntaxTokenList

Returns

Applies to