Dela via


RandomAccessFile.FilePointer Property

Definition

Returns the current offset in this file.

public virtual long FilePointer { [Android.Runtime.Register("getFilePointer", "()J", "GetGetFilePointerHandler")] get; }
[<get: Android.Runtime.Register("getFilePointer", "()J", "GetGetFilePointerHandler")>]
member this.FilePointer : int64

Property Value

the offset from the beginning of the file, in bytes, at which the next read or write occurs.

Attributes

Exceptions

if an error occurs while getting the file pointer of this file.

Remarks

Returns the current offset in this file.

Java documentation for java.io.RandomAccessFile.getFilePointer().

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.

Applies to