Partager via


TryStatementSyntax.WithTryKeyword(SyntaxToken) Méthode

Définition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::TryStatementSyntax ^ WithTryKeyword(Microsoft::CodeAnalysis::SyntaxToken tryKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.TryStatementSyntax WithTryKeyword (Microsoft.CodeAnalysis.SyntaxToken tryKeyword);
member this.WithTryKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.TryStatementSyntax
Public Function WithTryKeyword (tryKeyword As SyntaxToken) As TryStatementSyntax

Paramètres

tryKeyword
SyntaxToken

Retours

S’applique à