Delen via


XmlStringSyntax.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::XmlStringSyntax ^ WithTextTokens(Microsoft::CodeAnalysis::SyntaxTokenList textTokens);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlStringSyntax WithTextTokens (Microsoft.CodeAnalysis.SyntaxTokenList textTokens);
member this.WithTextTokens : Microsoft.CodeAnalysis.SyntaxTokenList -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlStringSyntax
Public Function WithTextTokens (textTokens As SyntaxTokenList) As XmlStringSyntax

Parameters

textTokens
SyntaxTokenList

Returns

Applies to