共用方式為


IndexerDeclarationSyntax.WithSemicolon(SyntaxToken) Method

Definition

Caution

This member is obsolete.

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

Parameters

semicolon
SyntaxToken

Returns

Attributes

Applies to