Forum Discussion
Detect File Attribute for files on demand (PINNED/UNPINNED)
rob_nicholson_helios no 😞
somewhat related:
https://developercommunity.visualstudio.com/content/problem/174472/enum-fileattributes.html
from the linked resource:
[Flags]
enum FileAttributes : int
{
ReadOnly = System.IO.FileAttributes.ReadOnly,
Hidden = System.IO.FileAttributes.Hidden,
//System = System.IO.FileAttributes.System,
Directory = System.IO.FileAttributes.Directory,
Archive = System.IO.FileAttributes.Archive,
Device = System.IO.FileAttributes.Device,
Normal = System.IO.FileAttributes.Normal,
Temporary = System.IO.FileAttributes.Temporary,
SparseFile = System.IO.FileAttributes.SparseFile,
ReparsePoint = System.IO.FileAttributes.ReparsePoint,
Compressed = System.IO.FileAttributes.Compressed,
Offline = System.IO.FileAttributes.Offline,
NotContentIndexed = System.IO.FileAttributes.NotContentIndexed,
Encrypted = System.IO.FileAttributes.Encrypted,
IntegrityStream = System.IO.FileAttributes.IntegrityStream,
Virtual = 0x10000, // new
NoScrubData = System.IO.FileAttributes.NoScrubData,
RecallOnOpen = 0x40000, // new
RecallOnDataAccess = 0x400000 // new
}
+
Missing definitions:
Virtual = 0x10000
RecallOnOpen = 0x4_0000
Pinned = 0x8_0000
Unpinned = 0x10_0000
RecallOnDataAccess = 0x40_0000
SMR_BLOB = 0x????_????