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

File::SetAttributes method

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

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

انظر أيضًا