UtilDirectoryAddAttributes Method
Adds directory-attribute(s) to the specified directory.
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 directoryPath,
FileAttributes attributes
)
Public Shared Sub AddAttributes (
directoryPath As String,
attributes As FileAttributes
)
Dim directoryPath As String
Dim attributes As FileAttributes
UtilDirectory.AddAttributes(directoryPath,
attributes)
public:
static void AddAttributes(
String^ directoryPath,
FileAttributes attributes
)
static member AddAttributes :
directoryPath : string *
attributes : FileAttributes -> unit
No code example is currently available or this language may not be supported.
Parameters
- directoryPath String
-
The directory path.
- attributes FileAttributes
-
The directory attribute(s) to add.
This is a code example.
No code example is currently available or this language may not be supported.
AddAttributes("C:\Directory\", 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.