UtilFileAddAttributes(String, FileAttributes) Method
Adss file-attribute(s) to 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 AddAttributes(
string filepath,
FileAttributes attributes
)
Public Shared Sub AddAttributes (
filepath As String,
attributes As FileAttributes
)
Dim filepath As String
Dim attributes As FileAttributes
UtilFile.AddAttributes(filepath, attributes)
public:
static void AddAttributes(
String^ filepath,
FileAttributes attributes
)
static member AddAttributes :
filepath : string *
attributes : FileAttributes -> unit
No code example is currently available or this language may not be supported.
Parameters
- filepath String
-
The filepath.
- attributes FileAttributes
-
The file attribute(s) to add.
This is a code example.
No code example is currently available or this language may not be supported.
AddAttributes("C:\File.ext", 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.