Partilhar via


SyncLockBlockSyntax.WithEndSyncLockStatement(EndBlockStatementSyntax) Método

Definição

Retorna uma cópia disso com a propriedade EndSyncLockStatement alterada para o valor especificado. Retorna essa instância se o valor especificado for o mesmo que o valor atual.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::SyncLockBlockSyntax ^ WithEndSyncLockStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endSyncLockStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockBlockSyntax WithEndSyncLockStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endSyncLockStatement);
member this.WithEndSyncLockStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockBlockSyntax
Public Function WithEndSyncLockStatement (endSyncLockStatement As EndBlockStatementSyntax) As SyncLockBlockSyntax

Parâmetros

endSyncLockStatement
EndBlockStatementSyntax

Retornos

Aplica-se a