言語

FileChannel.Open メソッド

定義

オーバーロード

名前 説明
Open(IPath, IOpenOption[])

ファイルを開くか作成し、ファイルにアクセスするためのファイル チャネルを返します。

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

ファイルを開くか作成し、ファイルにアクセスするためのファイル チャネルを返します。

Open(IPath, IOpenOption[])

ファイルを開くか作成し、ファイルにアクセスするためのファイル チャネルを返します。

[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

パラメーター

path
IPath

開くか作成するファイルのパス

options
IOpenOption[]

ファイルの開き方を指定するオプション

返品

新しいファイル チャネル

属性

注釈

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

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

ファイルを開くか作成し、ファイルにアクセスするためのファイル チャネルを返します。

[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

パラメーター

path
IPath

開くか作成するファイルのパス

options
ICollection<IOpenOption>

ファイルの開き方を指定するオプション

attrs
IFileAttribute[]

返品

新しいファイル チャネル

属性

注釈

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象