ISecureDirectoryStream.NewByteChannel メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
このディレクトリにファイルを開くか作成し、ファイルにアクセスするためのシーク可能なバイト チャネルを返します。
[Android.Runtime.Register("newByteChannel", "(Ljava/lang/Object;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/SeekableByteChannel;", "GetNewByteChannel_Ljava_lang_Object_Ljava_util_Set_arrayLjava_nio_file_attribute_FileAttribute_Handler:Java.Nio.FileNio.ISecureDirectoryStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public Java.Nio.Channels.ISeekableByteChannel? NewByteChannel(Java.Lang.Object? path, System.Collections.Generic.ICollection<Java.Nio.FileNio.IOpenOption>? options, params Java.Nio.FileNio.Attributes.IFileAttribute[]? attrs);
[<Android.Runtime.Register("newByteChannel", "(Ljava/lang/Object;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/SeekableByteChannel;", "GetNewByteChannel_Ljava_lang_Object_Ljava_util_Set_arrayLjava_nio_file_attribute_FileAttribute_Handler:Java.Nio.FileNio.ISecureDirectoryStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member NewByteChannel : Java.Lang.Object * System.Collections.Generic.ICollection<Java.Nio.FileNio.IOpenOption> * Java.Nio.FileNio.Attributes.IFileAttribute[] -> Java.Nio.Channels.ISeekableByteChannel
パラメーター
- path
- Object
開くか作成するファイルのパス
- options
- ICollection<IOpenOption>
ファイルの開き方を指定するオプション
- attrs
- IFileAttribute[]
ファイルの作成時にアトミックに設定する属性の省略可能なリスト
返品
シーク可能なバイト チャネル
- 属性
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。