Otter SDK Reference
Version:

SetAttributes(string path, System.IO.FileAttributes attributes) Method

Sets the attributes of the specified file.

Syntax

public static void SetAttributes(string path, System.IO.FileAttributes attributes)

Parameters

path
Type: string

The path of the file.

attributes
Type: System.IO.FileAttributes

The attributes to write.

Exceptions

System.ArgumentNullException

path is null (Nothing in Visual Basic) or empty.