Visual Basic (Declaration) | |
---|---|
Sub EndUpdate() |
C# | |
---|---|
void EndUpdate() |
Demonstrate using a workbook set in a thread safe manner when accessing the SpreadsheetGear API many times.
C# | ![]() |
---|---|
void DoSomeThreadSafeWorkQuickly(IWorkbookSet workbookSet) |
Visual Basic | ![]() |
---|---|
Sub DoSomeThreadSafeWorkQuickly(ByVal workbookSet As IWorkbookSet) |
This method is thread safe.
EndUpdate releases the lock which was acquired by BeginUpdate by calling GetLock.
See GetLock and ReleaseLock for more information about acquiring and releasing locks and the effect this has on background calculation.
Requirements
Platforms: Windows 2000, Windows XP, Windows Vista, Windows Server 2003 and Windows Server 2008. SpreadsheetGear 2008 requires the Microsoft .NET Framework 2.0 and supports .NET 3.0 and .NET 3.5.