System::IO::File::SetAttributes‑metod

File::SetAttributes method

Ställer in de angivna attributen på den angivna filen.

static void System::IO::File::SetAttributes(const String &path, FileAttributes fileAttributes)
ParameterTypeBeskrivning
sökvägconst String&Sökvägen till filen som attributen ska sättas på
fileAttributesFileAttributesEn bitvis kombination av FileAttributes‑värden som representerar attributen som ska sättas

Se även