Operators.using<'T,'U> Function (F#)
Visual Studio 2012
Clean up resources associated with the input object after the completion of the given function. Cleanup occurs even when an exception is raised by the protected code.
Namespace/Module Path: Microsoft.FSharp.Core.Operators
Assembly: FSharp.Core (in FSharp.Core.dll)
// Signature:
using : 'T -> ('T -> 'U) -> 'U (requires 'T :> IDisposable)
// Usage:
using resource action