XmlTextSyntax.WithTextTokens(SyntaxTokenList) 方法

定义

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

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

参数

textTokens
SyntaxTokenList

返回

适用于