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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.