OracleBinary OracleBinary OracleBinary OracleBinary Struct

定义

表示要存储在数据库中或从数据库中检索的二进制数据的可变长度流。Represents a variable-length stream of binary data to be stored in or retrieved from a database.

public value class OracleBinary : IComparable, System::Data::SqlTypes::INullable
public struct OracleBinary : IComparable, System.Data.SqlTypes.INullable
type OracleBinary = struct
    interface INullable
Public Structure OracleBinary
Implements IComparable, INullable
继承
OracleBinaryOracleBinaryOracleBinaryOracleBinary
实现

注解

若要获取OracleBinary对象,请调用GetOracleBinary方法。To obtain an OracleBinary object, call the GetOracleBinary method.

构造函数

OracleBinary(Byte[]) OracleBinary(Byte[]) OracleBinary(Byte[]) OracleBinary(Byte[])

初始化 OracleBinary 结构的新实例,将 Value 属性设置为已提供的字节数组的内容。Initializes a new instance of the OracleBinary structure, setting the Value property to the contents of the supplied byte array.

字段

Null Null Null Null

表示可分配给 Value 结构的 OracleBinary 属性的空值。Represents a null value that can be assigned to the Value property of an OracleBinary structure.

属性

IsNull IsNull IsNull IsNull

获取一个值,该值指示 Value 结构的 OracleBinary 属性是否为 null。Gets a value indicating whether the Value property of the OracleBinary structure is null.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Value 属性获取单字节,该属性位于整数参数 index 指示的位置。Gets the single byte from the Value property located at the position indicated by the integer parameter, index. 如果 index 指示一个超出字节数组结尾的位置,则会引发一个异常。If index indicates a position beyond the end of the byte array, an exception is raised.

Length Length Length Length

获取 Value 属性的长度(以字节为单位)。Gets the length in bytes of the Value property. 此属性是只读的。This property is read-only.

Value Value Value Value

获取 OracleBinary 结构的值。Gets the value of the OracleBinary structure. 此属性是只读的。This property is read-only.

方法

CompareTo(Object) CompareTo(Object) CompareTo(Object) CompareTo(Object)

将此 OracleBinary 对象与所提供的对象进行比较,并返回其相对值的指示值。Compares this OracleBinary object to the supplied object and returns an indication of their relative values.

Concat(OracleBinary, OracleBinary) Concat(OracleBinary, OracleBinary) Concat(OracleBinary, OracleBinary) Concat(OracleBinary, OracleBinary)

串联两个 OracleBinary 结构以创建一个新 OracleBinary 结构。Concatenates two OracleBinary structures to create a new OracleBinary structure.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

将提供的对象参数与 Value 对象的 OracleBinary 属性进行比较。Compares the supplied object parameter to the Value property of the OracleBinary object.

Equals(OracleBinary, OracleBinary) Equals(OracleBinary, OracleBinary) Equals(OracleBinary, OracleBinary) Equals(OracleBinary, OracleBinary)

对两个 OracleBinary 结构进行比较,以确定它们是否相等。Compares two OracleBinary structures to determine if they are equal.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

返回此 OracleBinary 结构的哈希代码。Returns the hash code for this OracleBinary structure.

GreaterThan(OracleBinary, OracleBinary) GreaterThan(OracleBinary, OracleBinary) GreaterThan(OracleBinary, OracleBinary) GreaterThan(OracleBinary, OracleBinary)

对两个 OracleBinary 结构进行比较,以确定第一个结构是否大于第二个结构。Compares two OracleBinary structures to determine if the first is greater than the second.

GreaterThanOrEqual(OracleBinary, OracleBinary) GreaterThanOrEqual(OracleBinary, OracleBinary) GreaterThanOrEqual(OracleBinary, OracleBinary) GreaterThanOrEqual(OracleBinary, OracleBinary)

对两个 OracleBinary 结构进行比较,以确定第一个结构是否大于或等于第二个结构。Compares two OracleBinary structures to determine if the first is greater than or equal to the second.

LessThan(OracleBinary, OracleBinary) LessThan(OracleBinary, OracleBinary) LessThan(OracleBinary, OracleBinary) LessThan(OracleBinary, OracleBinary)

对两个 OracleBinary 结构进行比较,以确定第一个结构是否小于第二个结构。Compares two OracleBinary structures to determine if the first is less than the second.

LessThanOrEqual(OracleBinary, OracleBinary) LessThanOrEqual(OracleBinary, OracleBinary) LessThanOrEqual(OracleBinary, OracleBinary) LessThanOrEqual(OracleBinary, OracleBinary)

对两个 OracleBinary 结构进行比较,以确定第一个结构是否小于或等于第二个结构。Compares two OracleBinary structures to determine if the first is less than or equal to the second.

NotEquals(OracleBinary, OracleBinary) NotEquals(OracleBinary, OracleBinary) NotEquals(OracleBinary, OracleBinary) NotEquals(OracleBinary, OracleBinary)

对两个 OracleBinary 结构进行比较,确定它们是否不相等。Compares two OracleBinary structures to determine if they are not equal.

操作员

Addition(OracleBinary, OracleBinary) Addition(OracleBinary, OracleBinary) Addition(OracleBinary, OracleBinary) Addition(OracleBinary, OracleBinary)

串连两个 OracleBinary 参数以创建一个新 OracleBinary 结构。Concatenates the two OracleBinary parameters to create a new OracleBinary structure.

Equality(OracleBinary, OracleBinary) Equality(OracleBinary, OracleBinary) Equality(OracleBinary, OracleBinary) Equality(OracleBinary, OracleBinary)

对两个 OracleBinary 结构进行比较,以确定它们是否相等。Compares two OracleBinary structures to determine if they are equal.

Explicit(OracleBinary to Byte[]) Explicit(OracleBinary to Byte[]) Explicit(OracleBinary to Byte[]) Explicit(OracleBinary to Byte[])

获取 Value 参数的 OracleBinary 属性的内容作为字节数组。Gets the contents of the Value property of the OracleBinary parameter as an array of bytes.

GreaterThan(OracleBinary, OracleBinary) GreaterThan(OracleBinary, OracleBinary) GreaterThan(OracleBinary, OracleBinary) GreaterThan(OracleBinary, OracleBinary)

对两个 OracleBinary 结构进行比较,以确定第一个结构是否大于第二个结构。Compares two OracleBinary structures to determine if the first is greater than the second.

GreaterThanOrEqual(OracleBinary, OracleBinary) GreaterThanOrEqual(OracleBinary, OracleBinary) GreaterThanOrEqual(OracleBinary, OracleBinary) GreaterThanOrEqual(OracleBinary, OracleBinary)

对两个 OracleBinary 结构进行比较,以确定第一个结构是否大于或等于第二个结构。Compares two OracleBinary structures to determine if the first is greater than or equal to the second.

Implicit(Byte[] to OracleBinary) Implicit(Byte[] to OracleBinary) Implicit(Byte[] to OracleBinary) Implicit(Byte[] to OracleBinary)

将字节数组转换为 OracleBinary 结构。Converts an array of bytes to an OracleBinary structure.

Inequality(OracleBinary, OracleBinary) Inequality(OracleBinary, OracleBinary) Inequality(OracleBinary, OracleBinary) Inequality(OracleBinary, OracleBinary)

对两个 OracleBinary 结构进行比较,以确定它们是否相等。Compares two OracleBinary structures to determine if they are equal.

LessThan(OracleBinary, OracleBinary) LessThan(OracleBinary, OracleBinary) LessThan(OracleBinary, OracleBinary) LessThan(OracleBinary, OracleBinary)

对两个 OracleBinary 结构进行比较,以确定第一个结构是否小于第二个结构。Compares two OracleBinary structures to determine if the first is less than the second.

LessThanOrEqual(OracleBinary, OracleBinary) LessThanOrEqual(OracleBinary, OracleBinary) LessThanOrEqual(OracleBinary, OracleBinary) LessThanOrEqual(OracleBinary, OracleBinary)

对两个 OracleBinary 结构进行比较,以确定第一个结构是否小于或等于第二个结构。Compares two OracleBinary structures to determine if the first is less than or equal to the second.

适用于