点击或拖拽改变大小

RuntimeState 类

X#
Container Class that holds the XSharp Runtime state
继承层次
Object
  RuntimeState

命名空间:  XSharp
程序集:  XSharp.Core (在 XSharp.Core.dll 中) 版本:2.22 GA
语法
 CLASS RuntimeState
查看代码

RuntimeState 类型公开以下成员。

属性
  名称说明
公共属性静态成员Alternate
The current Alternate setting.
公共属性静态成员AltFile
The current AltFile setting.
公共属性静态成员Ansi
The current ANSI setting
公共属性静态成员AppModule
The System.Reflection.Module for the main application.
公共属性静态成员AutoOpen
The current AutoOpen setting (used by the RDD system).
公共属性静态成员AutoOrder
The current AutoOrder setting (used by the RDD system).
公共属性静态成员AutoShareMode
The current AutoShareMode setting (used by the RDD system).
公共属性BreakLevel
Current Break Level. Gets set by compiler generated code for BEGIN SEQUENCE .. END constructs.
公共属性静态成员Century
The current Century setting (used in DATE <-> STRING conversions).
公共属性静态成员CollationMode
The current Collation mode (used by the RDD system).
公共属性静态成员CollationTable
Current collation table.
公共属性静态成员Compatible
The current Compatible setting.
公共属性静态成员CompilerOptionFOVF
The current compiler setting for the FOVF compiler option.
公共属性静态成员CompilerOptionFox2
The current compiler setting for the VO13 compiler option.
公共属性静态成员CompilerOptionOVF
The current compiler setting for the OVF compiler option.
公共属性静态成员CompilerOptionVO11
The current compiler setting for the VO11 compiler option.
公共属性静态成员CompilerOptionVO13
The current compiler setting for the VO13 compiler option.
公共属性静态成员Console
The current Console setting.
公共属性静态成员CurrentWorkarea
Gets / Sets the current Workarea number.
公共属性静态成员DataSession
The DataSession information for the current Thread.
公共属性静态成员DateCountry
The current DateCountry setting mode (used in DATE <-> STRING conversions).
公共属性静态成员DateFormat
The current Date format
公共属性静态成员Decimals
The default number of decimals for new FLOAT values that are created without explicit decimals.
公共属性静态成员DecimalSep
The default number of decimals for new FLOAT values that are created without explicit decimals.
公共属性静态成员DefaultRDD
The default RDD.
公共属性静态成员Deleted
RDD Deleted Flag that determines whether to ignore or include records that are marked for deletion.
公共属性静态成员DelimRDD
Name of the RDD uses for DELIM operations.
公共属性静态成员Dialect
公共属性静态成员Digits
The default number of digits for new FLOAT values that are created without explicit decimals
公共属性静态成员DigitsFixed
Logical setting that fixes the number of digits used to display numeric output.
公共属性静态成员DosCodePage
The 'DOS' Codepage. This gets read at startup from the OS().
公共属性静态成员DosEncoding
The DOS Encoding. This is based on the corrent DOS Codepage.
公共属性静态成员Eof
Should text files, such as memo files be written with a closing EOF = chr(26) character.
公共属性静态成员Eol
End of line character to be used by the runtime. Defaults to CR + LF (13 + 13).
公共属性静态成员Epoch
Date Epoch value that determines how dates without century digits are interpreted.
公共属性静态成员EpochCent
Date Epoch Century value. This gets set by the SetEpoch() function to the century in which the Epoch year falls.
公共属性静态成员EpochYear
Date Epoch Year value. This gets set by the SetEpoch() function to the Epoch year % 100.
公共属性静态成员Exact
String comparison Exact flag that determines how comparisons with the single '=' characters should be done.
公共属性静态成员FieldDelimiter
Field delimiters for DELIM operations.
公共属性静态成员FileError
The last File IO error number
公共属性静态成员FileException
The last file IO Exception
公共属性静态成员Fixed
Logical setting that fixes the number of decimal digits used to display numbers.
公共属性静态成员FloatDelta
Numeric value that controls the precision of Float comparisons.
公共属性静态成员HPLocking
The setting that determines whether to use the High Performance (HP) locking schema for newly created .NTX files
公共属性静态成员International
Current SetInternational Setting.
公共属性静态成员LastFound
The last file found with File(). This is the name that FPathName() returns.
公共属性静态成员LastRddError
Last error that occurred in the RDD subsystem.
公共属性静态成员LastScriptError
Last Script error that occurred .
公共属性静态成员LockTries
Number of tries that were done when the last lock operation failed.
公共属性静态成员MacroCompiler
Active Macro compiler
公共属性静态成员MacroCompilerIncludeAssemblyInCache
This property allows you to override the mechanism that decided if the types in an assembly should be cached The default behavior is that every assembly that is found is cached.
公共属性静态成员MacroResolver
Active Macro compiler
公共属性静态成员MemoBlockSize
The current default MemoBlock size.
公共属性Name
Retrieve state name
公共属性静态成员NetErr
Did the last RDD operation cause a Network Error ?
公共属性静态成员NewIndexLock
The setting that determines whether to use the new locking offset of -1 (0xFFFFFFFF) for .NTX files.
公共属性静态成员NoMethod
The name of the method that was called in the last late bound method call.
公共属性静态成员NullDateString
A cached copy of the string that is returned for empty dates, matching the current DateFormat
公共属性静态成员Optimize
RDD Optimize Flag
公共属性静态成员Refresh
The current SetRefresh flag.
公共属性静态成员RunningOnWindows
公共属性静态成员Safety
The current SetSafety flag.
公共属性静态成员ScriptCompiler
Active Script compiler. Gets assigned from the ExecScriptFast() function.
公共属性Settings
The dictionary that stores most of the settings in the runtime state. The key to the index is the number from the Set Enum
公共属性静态成员SoftSeek
The current SetSoftSeek flag.
公共属性静态成员StringDelimiter
String delimiters for DELIM operations.
公共属性静态成员ThousandSep
The Thousand separator
公共属性静态成员Unique
Should indexes by default be created with the 'Unique setting'.
公共属性静态成员WinCodePage
The Windows Codepage. This gets read at startup from the OS().
公共属性静态成员WinEncoding
The Windows Encoding. This is based on the corrent Win Codepage.
公共属性静态成员Workareas
The Workarea information for the current Thread.
Top
方法
  名称说明
公共方法静态成员GetInstance
Retrieve the runtime state for the current thread
公共方法静态成员GetValueT
Retrieve a value from the state of the current Thread.
公共方法静态成员SetDataSession
This method can be used to switch the active DataSession in the runtime state.
公共方法静态成员SetValueT
Set a value for the state of the current Thread.
公共方法静态成员StringCompare(String, String)
比较两个字符串。这个函数被编译器用于字符串比较。
公共方法静态成员StringCompare(Byte, Byte, Int32)
Compare 2 byte arrays respecting the runtime string comparison rules.
公共方法静态成员StringCompareCollation
比较两个字符串。这个函数被编译器用于字符串比较。
公共方法ToString
ToString() override
(重写 ToString.)
Top
事件
  名称说明
公共事件静态成员DialectChanged
This event is invoked when the runtime dialect is changed.
公共事件静态成员OnCodePageChanged
This event is thrown when one of the codepages of the runtimestate is changed
公共事件静态成员OnCollationChanged
This event is thrown when the collation of the runtimestate is changed
公共事件静态成员StateChanged
This event is invoked when the runtime state is changed.
Top
字段
  名称说明
公共字段静态成员AutoLock
Delegate that gets called to automatically lock a record in the FoxPro dialect.
公共字段静态成员AutoUnLock
Delegate that gets called to automatically unlock a record in the FoxPro dialect.
Top
备注
Please note that unlike in most XBase products every thread has its own copy of the runtime state.
The runtime state from a new thread is a copy of the state of the main thread at that moment.
参见