14.7.1 OracleString Members

OracleString members are listed in the following tables:

OracleString Constructors

OracleString constructors are listed in Table 14-87

Table 14-87 OracleString Constructors

Constructor Description

OracleString Constructors

Instantiates a new instance of OracleString structure (Overloaded)

OracleString Static Fields

The OracleString static fields are listed in Table 14-88.

Table 14-88 OracleString Static Fields

Field Description

Null

Represents a null value that can be assigned to an instance of the OracleString structure

OracleString Static Methods

The OracleString static methods are listed in Table 14-89.

Table 14-89 OracleString Static Methods

Methods Description

Concat

Concatenates two OracleString instances and returns a new OracleString instance that represents the result

Equals

Determines if two OracleString values are equal (Overloaded)

GreaterThan

Determines whether or not the first of two OracleString values is greater than the second

GreaterThanOrEqual

Determines whether or not the first of two OracleString values is greater than or equal to the second

LessThan

Determines whether or not the first of two OracleString values is less than the second

LessThanOrEqual

Determines whether or not the first of two OracleString values is less than or equal to the second

NotEquals

Determines whether two OracleString values are not equal

OracleString Static Operators

The OracleString static operators are listed in Table 14-90.

Table 14-90 OracleString Static Operators

Operator Description

operator +

Concatenates two OracleString values

operator ==

Determines if two OracleString values are equal

operator >

Determines if the first of two OracleString values is greater than the second

operator >=

Determines if the first of two OracleString values is greater than or equal to the second

operator !=

Determines if the two OracleString values are not equal

operator <

Determines if the first of two OracleString values is less than the second

operator <=

Determines if two OracleString values are not equal

OracleString Type Conversions

The OracleString type conversions are listed in Table 14-91.

Table 14-91 OracleString Type Conversions

Operator Description

explicit operator string

Converts the supplied OracleString to a string instance

implicit operator OracleString

Converts the supplied string to an OracleString instance

OracleString Properties

The OracleString properties are listed in Table 14-92.

Table 14-92 OracleString Properties

Properties Description

IsCaseIgnored

Indicates whether or not case should be ignored when performing string comparison

IsNull

Indicates whether or not the current instance has a null value

Item

Obtains the particular character in an OracleString using an index.

Length

Returns the length of the OracleString

Value

Returns the string data that is stored in the OracleString structure.

OracleString Methods

The OracleString methods are listed in Table 14-93.

Table 14-93 OracleString Methods

Methods Description

Clone

Returns a copy of the current OracleString instance

CompareTo

Compares the current OracleString instance to the supplied object, and returns an integer that represents their relative values

Equals

Determines whether or not an object has the same string value as the current OracleString structure (Overloaded)

GetHashCode

Returns a hash code for the OracleString instance

GetNonUnicodeBytes

Returns an array of bytes, containing the contents of the OracleString, in the client character set format

GetType

Inherited from System.Object

GetUnicodeBytes

Returns an array of bytes, containing the contents of the OracleString, in Unicode format

ToString

Converts the current OracleString instance to a string