Version:
AddAttributesAsync(IFileOperationsExecuter agent, string path, System.IO.FileAttributes attributes) Method
Adds the specified attributes to the specified file.
Syntax
public
static
System.Threading.Tasks.Task AddAttributesAsync(IFileOperationsExecuter agent, string path, System.IO.FileAttributes attributes)
Parameters
- agent
- Type: IFileOperationsExecuter
The agent.
- path
- Type: string
The full path of the file.
- attributes
- Type: System.IO.FileAttributes
The attributes to add.