Click or drag to resize

Symbol Structure

X#
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.

Namespace:  XSharp
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
[SerializableAttribute]
 STRUCTURE Symbol IMPLEMENTS IEqualityComparer<SYMBOL>, 
	IEquatable<SYMBOL>, IComparable<SYMBOL>, IComparable, 
	ICloneable, IConvertible, ISerializable
Request Example View Source

The Symbol type exposes the following members.

Constructors
  NameDescription
Public methodSymbol(String)
Initializes a new instance of the Symbol class
Public methodSymbol(SerializationInfo, StreamingContext)
Construct a value from serialized data
Public methodSymbol(String, Logic)
Initializes a new instance of the Symbol class
Top
Methods
  NameDescription
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides GetHashCode.)
Public methodGetHashCode(Symbol)
Returns a hash code for the specified object.
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
Public methodToDebugString
Public methodToString
Returns the fully qualified type name of this instance.
(Overrides ToString.)
Top
Operators
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIConvertibleGetTypeCode
Returns the TypeCode for this instance.
Explicit interface implementationPrivate methodIConvertibleToBoolean
Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToByte
Converts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToChar
Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToDateTime
Converts the value of this instance to an equivalent DateTime using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToDecimal
Converts the value of this instance to an equivalent Decimal number using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToDouble
Converts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToInt16
Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToInt32
Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToInt64
Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToSByte
Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToSingle
Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToString
Converts the value of this instance to an equivalent String using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToType
Converts the value of this instance to an Object of the specified Type that has an equivalent value, using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToUInt16
Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToUInt32
Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToUInt64
Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.
Top
Remarks
Tip Tip
The SYMBOL type is included in the X# language and runtime for compatibility only. In most cases the type can and should be replaced with normal strings.
See Also