共用方式為


AsynchronousFileChannel.Size Method

Definition

Returns the current size of this channel's file.

[Android.Runtime.Register("size", "()J", "GetSizeHandler", ApiSince=26)]
public abstract long Size ();
[<Android.Runtime.Register("size", "()J", "GetSizeHandler", ApiSince=26)>]
abstract member Size : unit -> int64

Returns

The current size of this channel's file, measured in bytes

Attributes

Remarks

Returns the current size of this channel's file.

Java documentation for java.nio.channels.AsynchronousFileChannel.size().

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