Click or drag to resize

Folder Class

Exposes properties methods that retrieve information about a Shell folder.
Inheritance Hierarchy

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public sealed class Folder : Item

The Folder type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Attributes that can be retrieved on a Shell item (file or folder) or set of Shell items.
(Inherited from Item.)
Public propertyChildren
Gets the folder's children.
Public propertyClassId
Gets the class identifier.
Public propertyCoreShellFolder
Gets the Shell folder instance. This object is a managed wrapper on a native IShellFolder interface, while this is a wrapper on a native IShellItem interface.
Public propertyDateAccessed
Get the last time the item was accessed.
(Inherited from Item.)
Public propertyDateCreated
Get the date and time the item was created on the file system where it is currently located.
(Inherited from Item.)
Public propertyDateModified
Get the date and time of the last modification to the item.
(Inherited from Item.)
Public propertyStatic memberDesktop
Gets the desktop folder.
Public propertyFileAttributes
Gets the file attributes.
(Inherited from Item.)
Public propertyIdList
Gets this item's absolute PIDL.
(Inherited from Item.)
Public propertyIndex
Gets this item's index when it was retrieved from an enumeration.
(Inherited from Item.)
Public propertyIsFileSystemFolder
Gets a value indicating whether this instance is a physical folder.
(Inherited from Item.)
Public propertyIsFolder
Gets a value indicating whether this instance is a folder. Note a Shell Folder can be a physical file (like .zip files for example).
(Inherited from Item.)
Public propertyIsHidden
Gets a value indicating whether this instance is hidden.
(Inherited from Item.)
Public propertyIsReadOnly
Gets a value indicating whether this instance is read-only.
(Inherited from Item.)
Public propertyNamedProperties
Gets the item's named properties.
(Inherited from Item.)
Public propertyNamedPropertiesAsDictionary
Gets the item's named properties as a dictionary.
(Inherited from Item.)
Public propertyNativeFolderObject
Gets the underlying Shell native object (IShellFolder).
Public propertyNativeObject
Gets the underlying Shell native object (IShellItem).
(Inherited from Item.)
Public propertyParentItem
Gets the parent item.
(Inherited from Item.)
Public propertyPlaceholderStatus
Gets the placeholder status.
(Inherited from Item.)
Public propertyProperties
Gets the item's properties.
(Inherited from Item.)
Public propertyPropertiesAsDictionary
Gets the item's properties as a dictionary.
(Inherited from Item.)
Public propertySettings
Gets folder settings.
Public propertySIGDN_DESKTOPABSOLUTEEDITING
Gets the editing name relative to the desktop. In UI this name is suitable for display to the user.
(Inherited from Item.)
Public propertySIGDN_DESKTOPABSOLUTEPARSING
Gets the parsing name relative to the desktop. In UI this name is suitable for display to the user.
(Inherited from Item.)
Public propertySIGDN_FILESYSPATH
Gets the item's file system path, if it has one.
(Inherited from Item.)
Public propertySIGDN_NORMALDISPLAY
Gets the display name relative to the parent folder. In UI this name is generally ideal for display to the user.
(Inherited from Item.)
Public propertySIGDN_URL
Gets the item's URL, if it has one.
(Inherited from Item.)
Public propertySize
Gets the file size.
(Inherited from Item.)
Public propertySyncTransferStatus
Gets or sets the synchronize transfer status.
(Inherited from Item.)
Top
Methods
  NameDescription
Public methodBindToHandler(Guid, Guid, IBindCtx, Boolean)
Binds to a handler as specified by the handler ID value (BHID).
(Inherited from Item.)
Public methodBindToHandlerT(Guid, IBindCtx, Boolean)
Binds to a handler as specified by the handler ID value (BHID).
(Inherited from Item.)
Public methodStatic memberCompareAbsoluteIdLists(IntPtr, IntPtr, SHCIDS, Boolean)
Determines the relative order of two file objects or folders, given their absolute item identifier lists.
Public methodStatic memberCompareAbsoluteIdLists(ShellItemIdList, ShellItemIdList, SHCIDS, Boolean)
Determines the relative order of two file objects or folders, given their absolute item identifier lists.
Public methodCompareRelativeIdLists(IntPtr, IntPtr, SHCIDS, Boolean)
Determines the relative order of two file objects or folders, given their item identifier lists.
Public methodCompareRelativeIdLists(ShellItemIdList, ShellItemIdList, SHCIDS, Boolean)
Determines the relative order of two file objects or folders, in this folder, given their item identifier lists.
Public methodCompareRelativeIds
Determines the relative order of two file objects or folders, in this folder, given their item identifier.
Public methodCompares
Compares this item to the specified shell item.
(Inherited from Item.)
Public methodStatic memberDesktopParseDisplayName(String, ShellItemIdList, IBindCtx, Boolean)
Translates the display name of a file object or a folder into a PIDL.
Public methodStatic memberDesktopParseDisplayName(String, IntPtr, IBindCtx, Boolean)
Translates the display name of a file object or a folder into a PIDL.
Public methodStatic memberDesktopParseDisplayName(IBindCtx, String, ShellItemIdList, SFGAO, Boolean)
Translates the display name of a file object or a folder into a PIDL.
Public methodStatic memberDesktopParseDisplayName(IBindCtx, String, IntPtr, SFGAO, Boolean)
Translates the display name of a file object or a folder into a PIDL.
Public methodEnumerateChildren
Enumerates the folder's children.
Public methodExecCommand
Executes the specified command. Depends on the item's IOleCommandTarget optional implementation. The list of supported types for Input is limited to integral types (String, Int32, int64, Boolean, Single, Double, Guid, DateTime,Decimal) and IDictionary types. Values for an IDictionary passed as Input can also contain arrays of aforementioned types.
(Inherited from Item.)
Public methodGetContextMenu
Gets the Shell's context menu from this item.
(Inherited from Item.)
Public methodGetDataObject
Gets a data object for the item.
(Inherited from Item.)
Public methodGetDisplayName
Gets the display name.
(Inherited from Item.)
Public methodGetIconAsIcon
Gets the item's icon as a GDI icon. You *must* call ShellUtilities.DestroyIcon on the returned icon handle once you have finished to use it.
(Inherited from Item.)
Public methodGetIconAsImageSource
Gets the item's icon as image source.
(Inherited from Item.)
Public methodGetNamedProperties
Gets the item's named properties.
(Inherited from Item.)
Public methodGetNamedPropertiesAsDictionary
Gets the item's named properties as a dictionary.
(Inherited from Item.)
Public methodGetNewMenu
Gets the Shell's New menu from this item.
(Inherited from Item.)
Public methodGetProperties
Gets the item's properties.
(Inherited from Item.)
Public methodGetPropertiesAsDictionary
Gets the item's properties as a dictionary.
(Inherited from Item.)
Public methodGetPropertyValueT
Gets a property value for a given property key.
(Inherited from Item.)
Public methodGetStorageItem
Gets an IStorageItem (WinRT) instance from this item.
(Inherited from Item.)
Public methodGetThumbnail
Gets the thumbnail for this item.
(Inherited from Item.)
Public methodGetThumbnailAsImageSource
Gets the item's thumbnail as image source.
(Inherited from Item.)
Public methodOpenNativeStream
Opens a native stream from the item.
(Inherited from Item.)
Public methodOpenRead
Opens a read stream from the item. Note all items don't support streaming.
(Inherited from Item.)
Public methodOpenStream(IBindCtx, Boolean)
Opens a stream from the item.
(Inherited from Item.)
Public methodOpenStream(FileMode, FileAccess, FileShare, Boolean)
Opens a stream from the item.
(Inherited from Item.)
Public methodOpenView
Opens a view on this item and selects it.
(Inherited from Item.)
Public methodOpenWrite
Opens a write stream from the item. Note all items don't support streaming.
(Inherited from Item.)
Public methodParseDisplayName(String, ShellItemIdList, IBindCtx, Boolean)
Translates the display name of a file object or a folder into a PIDL.
Public methodParseDisplayName(String, IntPtr, IBindCtx, Boolean)
Translates the display name of a file object or a folder into a PIDL.
Public methodParseDisplayName(IntPtr, IBindCtx, String, ShellItemIdList, Boolean)
Translates the display name of a file object or a folder into a PIDL.
Public methodParseDisplayName(IntPtr, IBindCtx, String, IntPtr, Boolean)
Translates the display name of a file object or a folder into a PIDL.
Public methodParseDisplayName(IntPtr, IBindCtx, String, Int32, ShellItemIdList, SFGAO, Boolean)
Translates the display name of a file object or a folder into a PIDL.
Public methodParseDisplayName(IntPtr, IBindCtx, String, Int32, IntPtr, SFGAO, Boolean)
Translates the display name of a file object or a folder into a PIDL.
Public methodQueryCommandStatus
Queries the item for the status of one or more commands generated by user interface events. Depends on the item's IOleCommandTarget optional implementation.
(Inherited from Item.)
Public methodToString
Returns a String that represents this instance.
(Inherited from Item.)
Public methodTryGetPropertyValue(PropertyKey, Object)
Gets a property value for a given property key.
(Inherited from Item.)
Public methodTryGetPropertyValue(PropertyKey, GETPROPERTYSTOREFLAGS, Object)
Gets a property value for a given property key.
(Inherited from Item.)
Public methodTryGetPropertyValueT(PropertyKey, T)
Gets a property value for a given property key.
(Inherited from Item.)
Top
See Also