共用方式為


AnonymousObjectCreationExpressionSyntax.WithNewKeyword(SyntaxToken) Method

Definition

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

Parameters

newKeyword
SyntaxToken

Returns

Applies to