Constant
TargetWeb
Description
Used to indicate whether the application is a Web app.
Usage
result = TargetWeb
Part |
Type |
Description |
---|---|---|
result |
Returns True if you are compiling or running a Web app. |
Notes
TargetWeb is True only for Web apps. However, Web apps can use all Console features but Console apps cannot use any Web app features ((i.e. the methods/properties/classes that are Web-only). Here is the relationship between TargetWeb and TargetDesktop.
App Type |
TargetWeb |
TargetDesktop |
---|---|---|
Web |
||
Console |
||
Desktop |
Compatibility
All project types on all supported operating systems.
See also
DebugBuild, XojoVersion, XojoVersionString, TargetAndroid, TargetBigEndian, TargetDesktop, TargetLinux, TargetLittleEndian, TargetMachO, TargetMacOS, TargetMobile, TargetWindows, TargetX86 constants; #If...#Endif statement; ConsoleApplication, ServiceApplication classes.