다음을 통해 공유


TryStatementSyntax.WithTryKeyword(SyntaxToken) Method

Definition

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

Parameters

tryKeyword
SyntaxToken

Returns

Applies to