OracleBFile Instance Methods
OracleBFile instance methods are listed in Table 13-9.
Table 9 OracleBFile Instance Methods
| Methods | Description |
|---|---|
BeginRead |
Inherited from System.IO.Stream |
BeginWrite |
Not Supported |
| Clone | Creates a copy of an OracleBFile object |
| Close | Closes the current stream and releases any resources associated with the stream |
| CloseFile | Closes the BFILE referenced by the current BFILE instance |
| Compare | Compares data referenced by the two OracleBFiles |
CreateObjRef |
Inherited from System.MarshalByRefObject |
| CopyTo | Copies data as specified (Overloaded) |
| CopyToAsync | Returns a Task-based asynchronous version of OracleBFile.CopyTo(), which copies data from the current instance to the provided object. (Overloaded) |
| Dispose | Releases resources allocated by this object |
EndRead |
Inherited from System.IO.Stream |
EndWrite |
Not Supported |
Equals |
Inherited from System.Object (Overloaded) |
| Flush | Not Supported |
| FlushAsync | Not Supported |
GetHashCode |
Inherited from System.Object |
GetLifetimeService |
Inherited from System.MarshalByRefObject |
GetType |
Inherited from System.Object |
InitializeLifetimeService |
Inherited from System.MarshalByRefObject |
| IsEqual | Compares the LOB references |
| OpenFile | Opens the BFILE specified by the FileName and DirectoryName |
| Read | Reads a specified amount of bytes from the OracleBFile instance and populates the buffer |
| ReadAsync | Returns a Task-based asynchronous version of OracleBFile.Read(), which reads a specified number of bytes from the OracleBFile instance and populates the buffer (Overloaded) |
ReadByte |
Inherited from System.IO.Stream |
| Search | Searches for a binary pattern in the current instance of an OracleBFile |
| Seek | Sets the position on the current LOB stream |
| SetLength | Not Supported |
ToString |
Inherited from System.Object |
| Write | Not Supported |
WriteByte |
Not Supported |