System::IO::File::SetAttributes メソッド

File::SetAttributes method

指定されたファイルに指定された属性を設定します。

static void System::IO::File::SetAttributes(const String &path, FileAttributes fileAttributes)
パラメーター説明
パスconst String&属性を設定するファイルのパス
fileAttributesFileAttributes設定する属性を表す FileAttributes 値のビット単位の組み合わせ

参照