XmlStringSyntax.WithTextTokens(SyntaxTokenList) 方法

定义

返回一个副本,其中 TextTokens 属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

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

参数

textTokens
SyntaxTokenList

返回

适用于