Share via


EmptyStatementSyntax.WithEmpty(SyntaxToken) Method

Definition

Returns a copy of this with the Empty 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::EmptyStatementSyntax ^ WithEmpty(Microsoft::CodeAnalysis::SyntaxToken empty);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.EmptyStatementSyntax WithEmpty (Microsoft.CodeAnalysis.SyntaxToken empty);
member this.WithEmpty : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EmptyStatementSyntax
Public Function WithEmpty (empty As SyntaxToken) As EmptyStatementSyntax

Parameters

empty
SyntaxToken

Returns

Applies to