Partilhar via


PropertyDeclarationSyntax.WithSemicolon(SyntaxToken) Method

Definition

Caution

This member is obsolete.

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::PropertyDeclarationSyntax ^ WithSemicolon(Microsoft::CodeAnalysis::SyntaxToken semicolon);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("This member is obsolete.", true)]
public Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax WithSemicolon (Microsoft.CodeAnalysis.SyntaxToken semicolon);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Obsolete("This member is obsolete.", true)>]
member this.WithSemicolon : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax
Public Function WithSemicolon (semicolon As SyntaxToken) As PropertyDeclarationSyntax

Parameters

semicolon
SyntaxToken

Returns

Attributes

Applies to