Udostępnij za pośrednictwem


File.TotalSpace Property

Definition

Returns the size of the partition named by this abstract pathname.

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

Property Value

The size, in bytes, of the partition or 0L if this abstract pathname does not name a partition

Attributes

Remarks

Returns the size of the partition named by this abstract pathname.

Added in 1.6.

Java documentation for java.io.File.getTotalSpace().

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