TryStatementSyntax.Update Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Update(SyntaxToken, BlockSyntax, SyntaxList<CatchClauseSyntax>, FinallyClauseSyntax)
- Source:
- TryStatementSyntax.cs
- Source:
- TryStatementSyntax.cs
- Source:
- TryStatementSyntax.cs
- Source:
- TryStatementSyntax.cs
- Source:
- TryStatementSyntax.cs
- Source:
- TryStatementSyntax.cs
- Source:
- TryStatementSyntax.cs
- Source:
- TryStatementSyntax.cs
- Source:
- TryStatementSyntax.cs
- Source:
- TryStatementSyntax.cs
- Source:
- TryStatementSyntax.cs
- Source:
- TryStatementSyntax.cs
- Source:
- TryStatementSyntax.cs
- Source:
- TryStatementSyntax.cs
- Source:
- TryStatementSyntax.cs
- Source:
- TryStatementSyntax.cs
- Source:
- TryStatementSyntax.cs
public:
Microsoft::CodeAnalysis::CSharp::Syntax::TryStatementSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken tryKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::BlockSyntax ^ block, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::CatchClauseSyntax ^> catches, Microsoft::CodeAnalysis::CSharp::Syntax::FinallyClauseSyntax ^ finally);
public Microsoft.CodeAnalysis.CSharp.Syntax.TryStatementSyntax Update (Microsoft.CodeAnalysis.SyntaxToken tryKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.CatchClauseSyntax> catches, Microsoft.CodeAnalysis.CSharp.Syntax.FinallyClauseSyntax finally);
public Microsoft.CodeAnalysis.CSharp.Syntax.TryStatementSyntax Update (Microsoft.CodeAnalysis.SyntaxToken tryKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.CatchClauseSyntax> catches, Microsoft.CodeAnalysis.CSharp.Syntax.FinallyClauseSyntax? finally);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.CatchClauseSyntax> * Microsoft.CodeAnalysis.CSharp.Syntax.FinallyClauseSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.TryStatementSyntax
Public Function Update (tryKeyword As SyntaxToken, block As BlockSyntax, catches As SyntaxList(Of CatchClauseSyntax), finally As FinallyClauseSyntax) As TryStatementSyntax
Parameters
- tryKeyword
- SyntaxToken
- block
- BlockSyntax
- catches
- SyntaxList<CatchClauseSyntax>
- finally
- FinallyClauseSyntax
Returns
Applies to
Update(SyntaxList<AttributeListSyntax>, SyntaxToken, BlockSyntax, SyntaxList<CatchClauseSyntax>, FinallyClauseSyntax)
public Microsoft.CodeAnalysis.CSharp.Syntax.TryStatementSyntax Update (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxToken tryKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.CatchClauseSyntax> catches, Microsoft.CodeAnalysis.CSharp.Syntax.FinallyClauseSyntax? finally);
member this.Update : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.CatchClauseSyntax> * Microsoft.CodeAnalysis.CSharp.Syntax.FinallyClauseSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.TryStatementSyntax
Public Function Update (attributeLists As SyntaxList(Of AttributeListSyntax), tryKeyword As SyntaxToken, block As BlockSyntax, catches As SyntaxList(Of CatchClauseSyntax), finally As FinallyClauseSyntax) As TryStatementSyntax
Parameters
- attributeLists
- SyntaxList<AttributeListSyntax>
- tryKeyword
- SyntaxToken
- block
- BlockSyntax
- catches
- SyntaxList<CatchClauseSyntax>
- finally
- FinallyClauseSyntax
Returns
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.