Constants.vbReadOnly Campo
Definição
Indica que o arquivo é um arquivo somente leitura para funções de acesso a arquivos.Indicates that the file is a read-only file for file-access functions.
public: Microsoft::VisualBasic::FileAttribute vbReadOnly = 1;
public const Microsoft.VisualBasic.FileAttribute vbReadOnly = 1;
val mutable vbReadOnly : Microsoft.VisualBasic.FileAttribute
Public Const vbReadOnly As FileAttribute = 1
Valor do campo
Comentários
Ao chamar as Dir funções, GetAttr ou SetAttr , você pode usar a FileAttribute enumeração em seu código no lugar dos valores reais.When you call the Dir, GetAttr, or SetAttr functions, you can use the FileAttribute enumeration in your code in place of the actual values.
O Attributes argumento usa os FileAttribute membros da enumeração.The Attributes argument takes the FileAttribute enumeration members.
Ao executar operações de e/s de arquivo, o My.Computer.FileSystem objeto fornece maior desempenho e facilidade de uso do que os métodos de e/s de arquivo herdados.When performing file I/O operations, the My.Computer.FileSystem object provides greater performance and ease of use than legacy file I/O methods. Para obter mais informações, consulte o objeto FileSystem.For more information, see FileSystem object.