Lingua

FileChannel.Open Metodo

Definizione

Overload

Nome Descrizione
Open(IPath, IOpenOption[])

Apre o crea un file, restituendo un canale di file per accedere al file.

Open(IPath, ICollection<IOpenOption>, IFileAttribute[])

Apre o crea un file, restituendo un canale di file per accedere al file.

Open(IPath, IOpenOption[])

Apre o crea un file, restituendo un canale di file per accedere al file.

[Android.Runtime.Register("open", "(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/FileChannel;", "", ApiSince=26)]
public static Java.Nio.Channels.FileChannel? Open(Java.Nio.FileNio.IPath? path, params Java.Nio.FileNio.IOpenOption[]? options);
[<Android.Runtime.Register("open", "(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/FileChannel;", "", ApiSince=26)>]
static member Open : Java.Nio.FileNio.IPath * Java.Nio.FileNio.IOpenOption[] -> Java.Nio.Channels.FileChannel

Parametri

path
IPath

Percorso del file da aprire o creare

options
IOpenOption[]

Opzioni che specificano la modalità di apertura del file

Valori restituiti

Un nuovo canale di file

Attributi

Commenti

per java.nio.channels.FileChannel.open(java.nio.file.Path, java.nio.file.OpenOption).

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

Open(IPath, ICollection<IOpenOption>, IFileAttribute[])

Apre o crea un file, restituendo un canale di file per accedere al file.

[Android.Runtime.Register("open", "(Ljava/nio/file/Path;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/FileChannel;", "", ApiSince=26)]
public static Java.Nio.Channels.FileChannel? Open(Java.Nio.FileNio.IPath? path, System.Collections.Generic.ICollection<Java.Nio.FileNio.IOpenOption>? options, params Java.Nio.FileNio.Attributes.IFileAttribute[]? attrs);
[<Android.Runtime.Register("open", "(Ljava/nio/file/Path;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/FileChannel;", "", ApiSince=26)>]
static member Open : Java.Nio.FileNio.IPath * System.Collections.Generic.ICollection<Java.Nio.FileNio.IOpenOption> * Java.Nio.FileNio.Attributes.IFileAttribute[] -> Java.Nio.Channels.FileChannel

Parametri

path
IPath

Percorso del file da aprire o creare

options
ICollection<IOpenOption>

Opzioni che specificano la modalità di apertura del file

attrs
IFileAttribute[]

Valori restituiti

Un nuovo canale di file

Attributi

Commenti

per java.nio.channels.FileChannel.open(java.nio.file.Path, java.nio.file.OpenOption).

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