Files.NewByteChannel Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
NewByteChannel(IPath, IOpenOption[]) |
Abre ou cria um arquivo, retornando um canal de bytes pesquisável para acessar o arquivo. |
NewByteChannel(IPath, ICollection<IOpenOption>, IFileAttribute[]) |
Abre ou cria um arquivo, retornando um canal de bytes pesquisável para acessar o arquivo. |
NewByteChannel(IPath, IOpenOption[])
Abre ou cria um arquivo, retornando um canal de bytes pesquisável para acessar o arquivo.
[Android.Runtime.Register("newByteChannel", "(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/SeekableByteChannel;", "", ApiSince=26)]
public static Java.Nio.Channels.ISeekableByteChannel? NewByteChannel (Java.Nio.FileNio.IPath? path, params Java.Nio.FileNio.IOpenOption[]? options);
[<Android.Runtime.Register("newByteChannel", "(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/SeekableByteChannel;", "", ApiSince=26)>]
static member NewByteChannel : Java.Nio.FileNio.IPath * Java.Nio.FileNio.IOpenOption[] -> Java.Nio.Channels.ISeekableByteChannel
Parâmetros
- path
- IPath
O caminho para o arquivo a ser aberto ou criado
- options
- IOpenOption[]
opções especificando como o arquivo é aberto
Retornos
Um novo canal de bytes pesquisável
- Atributos
Comentários
Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Android Open Source Project e usado de acordo com os termos descritos na Creative Commons 2.5 Attribution License.
Aplica-se a
NewByteChannel(IPath, ICollection<IOpenOption>, IFileAttribute[])
Abre ou cria um arquivo, retornando um canal de bytes pesquisável para acessar o arquivo.
[Android.Runtime.Register("newByteChannel", "(Ljava/nio/file/Path;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/SeekableByteChannel;", "", ApiSince=26)]
public static Java.Nio.Channels.ISeekableByteChannel? NewByteChannel (Java.Nio.FileNio.IPath? path, System.Collections.Generic.ICollection<Java.Nio.FileNio.IOpenOption>? options, params Java.Nio.FileNio.Attributes.IFileAttribute[]? attrs);
[<Android.Runtime.Register("newByteChannel", "(Ljava/nio/file/Path;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/SeekableByteChannel;", "", ApiSince=26)>]
static member NewByteChannel : Java.Nio.FileNio.IPath * System.Collections.Generic.ICollection<Java.Nio.FileNio.IOpenOption> * Java.Nio.FileNio.Attributes.IFileAttribute[] -> Java.Nio.Channels.ISeekableByteChannel
Parâmetros
- path
- IPath
O caminho para o arquivo a ser aberto ou criado
- options
- ICollection<IOpenOption>
opções especificando como o arquivo é aberto
- attrs
- IFileAttribute[]
Retornos
Um novo canal de bytes pesquisável
- Atributos
Comentários
Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Android Open Source Project e usado de acordo com os termos descritos na Creative Commons 2.5 Attribution License.