PackageEnsureSingleInstance Method |
Returns True if this application has no multiple
instances running, otherwise returns False.
Namespace: FDF.CommonAssembly: FDF.Common (in FDF.Common.dll) Version: 3.0.0.0
Syntax public static bool EnsureSingleInstance(
bool restore = true
)
Public Shared Function EnsureSingleInstance (
Optional restore As Boolean = true
) As Boolean
public:
static bool EnsureSingleInstance(
bool restore = true
)
static member EnsureSingleInstance :
?restore : bool
(* Defaults:
let _restore = defaultArg restore true
*)
-> bool
Parameters
- restore (Optional)
- Type: SystemBoolean
If True restores and brings application window to front.
Return Value
Type:
BooleanRemarks See Also