Click or drag to resize

XSharp Namespace

X#
This namespace contains the classes and structures that are used to implement the XBase types, such as USUAL, SYMBOL DATE and FLOAT.
Classes
  ClassDescription
Public classArray
Internal type that implements the VO Compatible ARRAY type.
This type has methods and properties that normally are never directly called from user code.
Public classArray OfT
Internal type that implements the new TYPED ARRAY type.
This type has methods and properties that normally are never directly called from user code.
Public classFoxArray
Internal type that implements the FoxPro Compatible ARRAY type.
This type has methods and properties that normally are never directly called from user code.
Public class_Codeblock
Internal type that is the base class for macro compiled codeblocks.
Public class_FieldNames
Helper class for VoDbTrans and VoDbSort()
Public class_JoinList
Helper class for DbJoin()
Public classBlobData
This class is used to write BLOB data to a FPT file.
Public classChildWinForm
Special Subclass of ChildAppWindow to host a windows forms window in a VO GUI hierarchy
Public classCodeblock
Internal type that implements the VO Compatible CODEBLOCK type
This type has methods that normally are never directly called from user code.
Public classCollations
A strongly-typed resource class, for looking up localized strings, etc.
Public classCoreDb
The CoreDb class contains the methods to manipulate Workareas.
The class is stateless. The Workarea state is stored in the RuntimeState.
Public classDbDataColumn
This class represents a DBF Field in a DbDataTable class.
Public classDbDataRow
This class represents a DBF Row in a DbDataTable class.
Public classDbDataSource
This class implements an IBindingList on a workarea
Public classDbDataTable
This class is used to create a System.Data.DataTable from a workarea
Public classDbField
This class is used by the DbDataSource class to describe the fields in the workarea
Public classDbNotifyEventArgs
Provides data for the Notify event of the IDbNotify interface.
Public classDbRecord
This class is used by the DbDataSource class to represent the records in a workarea.
Public classDialectExtension
Public classError
XSharp Runtime base Error class
Public classErrorDialog
Public classFileStreamExensions
Public classGlobals
Support class to support runtime access to globals declared in the loaded X# assemblies
Public classImplicitNamespaceAttribute
This class is used to tell the compiler that the assembly has types in a specific namespace. When the compiler is called with the /ins command line option, then the names specified with this attribute will be automatically included in the USING list when compiling.
Public classMemVar
Internal type that implements the Dynamic Memory Variables.
Public classNamedArg
VO Compatible type to allow name/value pairs for Ole Automation parameters
Public classOleAutoObject
VO Compatible OLE Automation class
Public classOleAutoObjectFromFile
VO Compatible class to create an OLEAutObject from a file on disk.
Public classOleDateTime
VO Compatible class to store DateTime values in OLE Automation
Public classRuntimeState
Container Class that holds the XSharp Runtime state
Public classStateChangedEventArgs
Arguments that are sent to StateChanged event handlers
Public classVObject
Base class for many types used in the VO SDK Classes
Public classVoDb
The VoDb class extends the CoreDb class with methods that take usual parameters or return usual values.
All other methods are identical and inherited from the CoreDb class.
Public classVOWinFormApp
Special App class to is used when hosting Windows Forms Forms in a VO GUI hierarchy
Public classWinFormVOWindow
This class is used to host a VO GUI Window in a Windows Forms UI Hierarchy
Public classWinFormVOWindowHost
This class is used to host a VO GUI Window in a Windows Forms UI Hierarchy
Structures
  StructureDescription
Public structureBinary
Internal type that implements the FoxPro Compatible BINARY type.
This type has many operators and implicit converters that normally are never directly called from user code. The data in this type is stored as an array of Bytes
Conversions from and to String are supported and they use the current active windows codepage.
Public structureCurrency
Internal type that implements the FoxPro Compatible CURRENCY type. This type has many operators and implicit converters that normally are never directly called from user code. The data in this type is stored as a System.Decimal with 4 decimal places
Public structureDate
Internal type that implements the VO Compatible DATE type
This type has many operators and implicit converters that normally are never directly called from user code. It holds year, month, day in 32 bits. For date calculations it uses the System.DateTime calculation logic. There are implicit converters between Date and DateTime.
Public structureFloat
Internal type that implements the XBase Compatible FLOAT type. This type has many operators and implicit converters that normally are never directly called from user code.
Public structurePsz
Internal type that implements the XBase Compatible PSZ type.
This type has many operators and implicit converters that normally are never directly called from user code.
Public structureSymbol
Internal type that implements the XBase Compatible SYMBOL type.
This type has many operators and implicit converters that normally are never directly called from user code.
There are also some operators that handle implicit conversions between Symbols and Strings in your code.
Public structureUsual
Internal type that implements the XBase Compatible USUAL type.
This type has many operators and implicit converters that normally are never directly called from user code.
Public structure__WinBool
Internal type that implements the WIN32 Compatible LOGIC type in UNIONs and VOSTRUCTs
Public structure__WinDate
Internal type that implements the XBase Compatible DATE type in UNIONs and VOSTRUCTs
Public structure_JoinField
Helper structure for DbJoin()
Public structure_RddList
Helper structure to store information for a list of RDD names for DbUseArea()
Public structureFixedMemBlockEnd
Guard Block following MemAlloc return value
Public structureFixedMemBlockStart
Guard Block preceding MemAlloc return value
Interfaces
  InterfaceDescription
Public interfaceIClosedRDD
Public interfaceICodeblock
This interface defines Compile time and runtime codeblocks
Public interfaceICodeblock2
This interface extends the ICodeblock interface and adds a property that returns the 'real' returntype of the codeblock, before customizations are done to the value (for example for Foxpro where NIL gets converted to FALSE)
Public interfaceICurrency
This interface is used to return Decimal values from the RDD system
Public interfaceIDate
This interface defines Date values
Public interfaceIDbConnectionClient
Public interfaceIDbNotify
This interface must be implemented by objects that register themselves for DB Notifications
Public interfaceIDynamicProperties
This interface is used for objects that implement a special mechanism for reading / writing properties at runtime.
Public interfaceIDynamicProperties2
Public interfaceIFloat
This interface defines FLOAT values
Public interfaceIIndexedProperties
This interface can be used to access any object with an indexer. This is mostly used for elements inside typed arrays of the 'ARRAY OF' class. If you implement the interface on the elements you can use an array syntax to assess fields/properties in the elements of the array by name or ordinal.
Public interfaceIIndexer
This interface is used to index a collection using the VO Array syntax. The interface is implemented by the ARRAY type in the runtime, but you can also use it for your custom types.
Public interfaceILateBound
This interface described the methods needed for a LateBound object
When an object implements this interface then the X# runtime will not use reflection to implement late bound calls to properties or methods but will call these methods instead.
Public interfaceIMacroCompiler
This interface defines the Macro compiler subsystem
Public interfaceIMacroCompiler2
This interface extends the Macro compiler and adds a method that is called to decide between ambigous methods or constructors
Public interfaceIMacroCompilerUsual
This interface defines and extension to the Macro compiler subsystem
Public interfaceINamedIndexer
This interface is used to index a collection using a numeric and a string index and is implemented by the typed array class ('ARRAY OF'). If your elements inside the collection implement the IIndexProperties interface then the lookup of the property inside array element will be resolved with a call to the named indexer on that object.
Public interfaceIRtCodeblock
This interface Extended the ICodeblock interface and adds support for usual parameters and return values
Public interfaceIWrappedObject
Delegates
  DelegateDescription
Public delegateDbNotifyEventHandler
The delegate that defines the Workarea Eventhandler
Public delegateDialectChanged
Delegate used for the DialectChanged Event handler
Public delegateFileSearcher
This delegate is used when you want to implement your own function for the logic behind the File() function. You can register your own FileSearcher by calling the RegisterFileSearch() function.
Public delegateMacroCompilerIncludeAssemblyInCache
This delegate is used to decide if an assembly should be included in the type cache
Public delegateMacroCompilerResolveAmbiguousMatch
This delegate is used to decide between 2 ambigous methods, functions or constructors
Public delegateMemVarGetter
Delegate for reading memvars.
Public delegateMemVarPutter
Delegate for writing memvars.
Public delegateRuntimeStateAutoLockMethod
Delegate that describes the signature of the AutoLock methods
Public delegateStateChanged
Delegate used for the StateChanged Event handler
Enumerations
  EnumerationDescription
Public enumeration__UsualType
This enum is used to describe the type of USUAL values in the X# Runtime. It is based on the original USUAL type values in the VO runtime and has been extended with some additional type numbers.
Public enumerationCollationMode
This enum specifies the collation mode used to create and update index strings.
Public enumerationDateCountry
Values that match the XBase DateCountry defines. They are used to set the date format.
Public enumerationFoxCollations
List of possible index collations for VFP DBF files. For each of these collations there is a weight table in the XSharp.VFP assembly.
Public enumerationGencode
Error code Enum that matches the Visual Objecs and Vulcan Generic Error Codes
Public enumerationSet
Values that match the Visual Objects SET_* defines
Public enumerationSeverity
Error code Enum that matches the XSharp Error Severity codesFDesc
Public enumerationSubcodes
Error code Enum that matches the XSharp Error Sub Codes
Public enumerationVFPErrors
Public enumerationXSharpDialect
This enum lists the various dialects possible in XSharp. The enum MUST match the dialect values inside the compiler