Otter SDK Reference
Version:

SetAttributes(IFileOperationsExecuter agent, string path, System.IO.FileAttributes fileAttributes) Method

Writes the specified metadata to the file or directory.

Syntax

public static void SetAttributes(IFileOperationsExecuter agent, string path, System.IO.FileAttributes fileAttributes)

Parameters

agent
Type: IFileOperationsExecuter

The agent.

path
Type: string

Full path of the file or directory.

fileAttributes
Type: System.IO.FileAttributes

Attributes to write.