UtilFileRemoveAttributes(FileInfo, FileAttributes) Method
Removes file-attribute(s) from the specified file.
Namespace: DevCase.Core.IO.FileSystemAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void RemoveAttributes(
FileInfo file,
FileAttributes attributes
)
Public Shared Sub RemoveAttributes (
file As FileInfo,
attributes As FileAttributes
)
Dim file As FileInfo
Dim attributes As FileAttributes
UtilFile.RemoveAttributes(file, attributes)
public:
static void RemoveAttributes(
FileInfo^ file,
FileAttributes attributes
)
static member RemoveAttributes :
file : FileInfo *
attributes : FileAttributes -> unit
No code example is currently available or this language may not be supported.
Parameters
- file FileInfo
-
The source file.
- attributes FileAttributes
-
The file attribute(s) to remove.
This is a code example.
No code example is currently available or this language may not be supported.
Dim file As New FileInfo("C:\File.ext")
RemoveAttributes(file, FileAttributes.Hidden Or FileAttributes.ReadOnly)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.