Click or drag to resize

Binary Structure

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

Namespace:  XSharp
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
[SerializableAttribute]
 STRUCTURE Binary IMPLEMENTS IFormattable, 
	IComparable<BINARY>, IEquatable<BINARY>, IComparable, 
	ISerializable
Request Example View Source

The Binary type exposes the following members.

Constructors
  NameDescription
Public methodBinary(Byte)
Initializes a new instance of the Binary class
Public methodBinary(String)
Initializes a new instance of the Binary class
Public methodBinary(SerializationInfo, StreamingContext)
Construct a value from serialized data
Top
Properties
  NameDescription
Public propertyLength
Public propertyValue
Binary value as array of Bytes
Top
Methods
  NameDescription
Public methodCompareTo(Object)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodCompareTo(Binary)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides Equals(Object).)
Public methodEquals(Binary)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides GetHashCode.)
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
Public methodToString
Returns the fully qualified type name of this instance.
(Overrides ToString.)
Public methodToString(String)
Converts the numeric value of this instance to its equivalent string representation.
Public methodToString(String, IFormatProvider)
Formats the value of the current instance using the specified format.
Top
Operators
See Also