Share via


BaseObjectCreationExpressionSyntax.WithNewKeyword(SyntaxToken) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.BaseObjectCreationExpressionSyntax WithNewKeyword (Microsoft.CodeAnalysis.SyntaxToken newKeyword);
member this.WithNewKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.BaseObjectCreationExpressionSyntax
Public Function WithNewKeyword (newKeyword As SyntaxToken) As BaseObjectCreationExpressionSyntax

Parameters

newKeyword
SyntaxToken

Returns

Applies to