SyncLockBlockSyntax.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.
Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.
public:
Microsoft::CodeAnalysis::VisualBasic::Syntax::SyncLockBlockSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::SyncLockStatementSyntax ^ syncLockStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endSyncLockStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockBlockSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockStatementSyntax syncLockStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endSyncLockStatement);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockBlockSyntax
Public Function Update (syncLockStatement As SyncLockStatementSyntax, statements As SyntaxList(Of StatementSyntax), endSyncLockStatement As EndBlockStatementSyntax) As SyncLockBlockSyntax
Parameters
- syncLockStatement
- SyncLockStatementSyntax
The value for the SyncLockStatement property.
- statements
- SyntaxList<StatementSyntax>
The value for the Statements property.
- endSyncLockStatement
- EndBlockStatementSyntax
The value for the EndSyncLockStatement property.
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.