Partager via


IndexerDeclarationSyntax.WithExpressionBody Méthode

Définition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::IndexerDeclarationSyntax ^ WithExpressionBody(Microsoft::CodeAnalysis::CSharp::Syntax::ArrowExpressionClauseSyntax ^ expressionBody);
public Microsoft.CodeAnalysis.CSharp.Syntax.IndexerDeclarationSyntax WithExpressionBody (Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax expressionBody);
public Microsoft.CodeAnalysis.CSharp.Syntax.IndexerDeclarationSyntax WithExpressionBody (Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax? expressionBody);
member this.WithExpressionBody : Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.IndexerDeclarationSyntax
Public Function WithExpressionBody (expressionBody As ArrowExpressionClauseSyntax) As IndexerDeclarationSyntax

Paramètres

Retours

S’applique à