SpreadsheetGear 2017
WithLock Method (IWorkbookSet)






SpreadsheetGear Namespace > IWorkbookSet Interface : WithLock Method
Calls GetLock(), runs the specified Action and then calls ReleaseLock().
Overload List
OverloadDescription
Calls GetLock(), runs the specified Action and then calls ReleaseLock().  
Calls GetLock(), runs the specified Func, calls ReleaseLock() and then returns the value returned by the Func.  
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IWorkbookSet Interface
IWorkbookSet Members