SeparatedSyntaxList<TNode>.ReplaceSeparator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new list with the specified separator token replaced with the new separator.
public:
Microsoft::CodeAnalysis::SeparatedSyntaxList<TNode> ReplaceSeparator(Microsoft::CodeAnalysis::SyntaxToken separatorToken, Microsoft::CodeAnalysis::SyntaxToken newSeparator);
public Microsoft.CodeAnalysis.SeparatedSyntaxList<TNode> ReplaceSeparator (Microsoft.CodeAnalysis.SyntaxToken separatorToken, Microsoft.CodeAnalysis.SyntaxToken newSeparator);
member this.ReplaceSeparator : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.SeparatedSyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)>
Public Function ReplaceSeparator (separatorToken As SyntaxToken, newSeparator As SyntaxToken) As SeparatedSyntaxList(Of TNode)
Parameters
- separatorToken
- SyntaxToken
The separator token to be replaced.
- newSeparator
- SyntaxToken
The new separator token.
Returns
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.