RandomAccessFile.Length Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the length of this file.
[Android.Runtime.Register("length", "()J", "GetLengthHandler")]
public virtual long Length ();
[<Android.Runtime.Register("length", "()J", "GetLengthHandler")>]
abstract member Length : unit -> int64
override this.Length : unit -> int64
Returns
the length of this file, measured in bytes.
- Attributes
Exceptions
if this file is closed or some other I/O error occurs.
Remarks
Returns the length of this file.
Java documentation for java.io.RandomAccessFile.length()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.