System.IO.Tests.FileInfo_GetSetAttributesCommon.GetAttributes C# (CSharp) Méthode

GetAttributes() protected méthode

protected GetAttributes ( string path ) : FileAttributes
path string
Résultat FileAttributes
        protected override FileAttributes GetAttributes(string path) => new FileInfo(path).Attributes;
        protected override void SetAttributes(string path, FileAttributes attributes) => new FileInfo(path).Attributes = attributes;
FileInfo_GetSetAttributesCommon