Indicate flags used by IShellFolder2 GetAttributesOf() method to specify the requested attributes.
| C# | Visual Basic | Visual C++ |
[FlagsAttribute] public enum SFGAOF
<FlagsAttribute> _ Public Enumeration SFGAOF
[FlagsAttribute] public enum class SFGAOF
| Member | Description |
|---|---|
| SFGAO_CANCOPY |
The specified items can be copied.
|
| SFGAO_CANMOVE |
The specified items can be moved.
|
| SFGAO_CANLINK |
Shortcuts can be created for the specified items.
|
| SFGAO_STORAGE |
The specified items can be bound to an IStorage interface through BindToObject(IID_IStorage)
|
| SFGAO_CANRENAME |
The specified items can be renamed.
|
| SFGAO_CANDELETE |
The specified items can be deleted.
|
| SFGAO_HASPROPSHEET |
The specified items have property sheets.
|
| SFGAO_DROPTARGET |
The specified items are drop targets.
|
| SFGAO_CAPABILITYMASK |
This flag is a mask for the capability flags.
|
| SFGAO_ENCRYPTED |
The specified items are encrypted.
|
| SFGAO_ISSLOW |
Indicates that accessing the object (through IStream or other storage interfaces) is a slow operation. Applications should avoid accessing items flagged with SFGAO_ISSLOW.
|
| SFGAO_GHOSTED |
The specified items are ghosted icons.
|
| SFGAO_LINK |
The specified items are shortcuts.
|
| SFGAO_SHARE |
The specified folder objects are shared.
|
| SFGAO_READONLY |
The specified items are read-only. In the case of folders, this means that new items cannot be created in those folders.
|
| SFGAO_HIDDEN |
The item is hidden and should not be displayed unless the Show hidden files and folders option is enabled in Folder Settings.
|
| SFGAO_DISPLAYATTRMASK |
This flag is a mask for the display attributes.
|
| SFGAO_FILESYSANCESTOR |
The specified folders contain one or more file system folders.
|
| SFGAO_FOLDER |
The specified items are folders. (supports BindToObject(IID_IShellFolder))
|
| SFGAO_FILESYSTEM |
The specified folders or file objects are part of the file system (that is, they are files, directories, or root directories).
|
| SFGAO_HASSUBFOLDER |
The specified folders have subfolders (and are, therefore, expandable in the left pane of Windows Explorer).
|
| SFGAO_VALIDATE |
When specified as input, SFGAO_VALIDATE instructs the folder to validate that the items pointed to by the contents of apidl exist.
|
| SFGAO_REMOVABLE |
The specified items are on removable media or are themselves removable devices.
|
| SFGAO_COMPRESSED |
The specified items are compressed.
|
| SFGAO_BROWSABLE |
The specified items can be browsed in place.
|
| SFGAO_NONENUMERATED |
The items are nonenumerated items.
|
| SFGAO_NEWCONTENT |
The objects contain new content.
|
| SFGAO_CANMONIKER |
It is possible to create monikers for the specified file objects or folders.
|
| SFGAO_HASSTORAGE |
Not supported.
|
| SFGAO_STREAM |
Indicates that the item has a stream associated with it that can be accessed by a call to BindToObject(IID_IStream) with IID_IStream in the riid parameter.
|
| SFGAO_STORAGEANCESTOR |
Children of this item are accessible through IStream or IStorage. Those children are flagged with SFGAO_STORAGE or SFGAO_STREAM.
|
| SFGAO_STORAGECAPMASK |
This flag is a mask for the storage capability attributes.
|