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)
ParameterTypBeskrivning
sökvägconst String&Sökvägen till filen vars attribut ska anges
fileAttributesFileAttributesEn bitvis kombination av FileAttributes-värden som representerar attributen att ange

Se även