Table of Contents

Method Take

Namespace
OpenCAD2D.SheetSets
Assembly
OpenCAD2D.Core.dll

Take(string)

Takes the lock of a sheet set data file for this user on this machine: writes the lock file, in place of one that is there.

public static void Take(string dst)

Parameters

dst string

The path of the .dst.

Exceptions

ArgumentNullException

Thrown when the path is null.

IOException

Thrown when the lock file cannot be written.

UnauthorizedAccessException

Thrown when the folder may not be written to.