File.Length File.Length Method

Definition

Returns the length of this file in bytes.

[Android.Runtime.Register("length", "()J", "GetLengthHandler")]
public virtual long Length ();
abstract member Length : unit -> int64
override this.Length : unit -> int64

Returns

Remarks

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