Intersoft ClientUI Documentation
ForceSingleInstance Property
See Also  Send Feedback
Intersoft.Client.Framework Namespace > WindowOptions Class : ForceSingleInstance Property






When an existing instance is available, setting this property to true will activate the existing instance. Consequently, the application launch for this session will be terminated.

Syntax

Visual Basic (Declaration) 
Public Property ForceSingleInstance As Boolean
Visual Basic (Usage)Copy Code
Dim instance As WindowOptions
Dim value As Boolean
 
instance.ForceSingleInstance = value
 
value = instance.ForceSingleInstance
C# 
public bool ForceSingleInstance {get; set;}
Delphi 
public read-write property ForceSingleInstance: Boolean; 
JScript 
public function get,set ForceSingleInstance : boolean
Managed Extensions for C++ 
public: __property bool get_ForceSingleInstance();
public: __property void set_ForceSingleInstance( 
   bool value
);
C++/CLI 
public:
property bool ForceSingleInstance {
   bool get();
   void set (    bool value);
}

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.