Langue

FileChannel.Open Méthode

Définition

Surcharges

Nom Description
Open(IPath, IOpenOption[])

Ouvre ou crée un fichier, retournant un canal de fichiers pour accéder au fichier.

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

Ouvre ou crée un fichier, retournant un canal de fichiers pour accéder au fichier.

Open(IPath, IOpenOption[])

Ouvre ou crée un fichier, retournant un canal de fichiers pour accéder au fichier.

[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

Paramètres

path
IPath

Chemin d’accès du fichier à ouvrir ou créer

options
IOpenOption[]

Options spécifiant la façon dont le fichier est ouvert

Retours

Un nouveau canal de fichier

Attributs

Remarques

Documentation Java pour java.nio.channels.FileChannel.open(java.nio.file.Path, java.nio.file.OpenOption).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à

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

Ouvre ou crée un fichier, retournant un canal de fichiers pour accéder au fichier.

[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

Paramètres

path
IPath

Chemin d’accès du fichier à ouvrir ou créer

options
ICollection<IOpenOption>

Options spécifiant la façon dont le fichier est ouvert

attrs
IFileAttribute[]

Retours

Un nouveau canal de fichier

Attributs

Remarques

Documentation Java pour java.nio.channels.FileChannel.open(java.nio.file.Path, java.nio.file.OpenOption).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à