System::IO::File::SetAttributes طريقة

File::SetAttributes method

يضبط السمات المحددة على الملف المحدد.

static void System::IO::File::SetAttributes(const String &path, FileAttributes fileAttributes)
ParameterTypeالوصف
المسارconst String&مسار الملف الذي سيتم تحديد الخصائص عليه
fileAttributesFileAttributesتركيبة بتية من قيم FileAttributes تمثل الخصائص التي سيتم تحديدها

انظر أيضًا