Linguaggio

RandomAccessFile.Length Metodo

Definizione

Restituisce la lunghezza del 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

Valori restituiti

lunghezza del file, misurata in byte.

Attributi

Eccezioni

se il file è chiuso o si verifica un altro errore di I/O.

Commenti

Restituisce la lunghezza del file.

per java.io.RandomAccessFile.length().

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a