Returns True if this application has no multiple instances running, otherwise returns False.


Namespace: FDF.Common
Assembly: FDF.Common (in FDF.Common.dll)

Syntax

Visual Basic (Declaration)
PublicSharedFunctionEnsureSingleInstance(_
Optional ByValrestoreAsBoolean = True_
)AsBoolean
C#
publicstaticboolEnsureSingleInstance(
[OptionalAttribute]boolrestore
)
C++
public:
staticboolEnsureSingleInstance(
[OptionalAttribute]boolrestore
)
J#
publicstaticboolEnsureSingleInstance(
/** @attribute OptionalAttribute() */boolrestore
)
JScript
publicstatic functionEnsureSingleInstance(
OptionalAttributerestore:bool
):bool

Parameters

restore
If True restores and brings application window to front.

See Also