Delen via


ObjectMemberInitializerSyntax.WithWithKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the WithKeyword property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ObjectMemberInitializerSyntax ^ WithWithKeyword(Microsoft::CodeAnalysis::SyntaxToken withKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectMemberInitializerSyntax WithWithKeyword (Microsoft.CodeAnalysis.SyntaxToken withKeyword);
member this.WithWithKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectMemberInitializerSyntax
Public Function WithWithKeyword (withKeyword As SyntaxToken) As ObjectMemberInitializerSyntax

Parameters

withKeyword
SyntaxToken

Returns

Applies to