Modifier

Partager via


File.SetAttributes(String, FileAttributes) Method

Definition

public:
 static void SetAttributes(System::String ^ path, System::IO::FileAttributes fileAttributes);
public static void SetAttributes (string path, System.IO.FileAttributes fileAttributes);
static member SetAttributes : string * System.IO.FileAttributes -> unit
Public Shared Sub SetAttributes (path As String, fileAttributes As FileAttributes)

Parameters

path
String
fileAttributes
FileAttributes

Applies to