Public Shared Function GetAttributes(ByVal path As String) As System.IO.FileAttributes
Member of: System.IO.File
Summary:
Gets the System.IO.FileAttributes of the file on the path.
Public Shared Sub SetAttributes(ByVal path As String, ByVal fileAttributes As System.IO.FileAttributes)
Member of: System.IO.File
Summary:
Sets the specified System.IO.FileAttributes of the file on the specified path.
Dim Attr As Integer
Attr = System.IO.File.GetAttributes(ИмяВашегофайла) And IO.FileAttributes.ReadOnly
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 22