Click or drag to resize

CoreShellFolder Class

Exposes properties methods that retrieve information about a Shell folder. The difference with the Folder type is this represents a managed wrapper over the native IShellFolder interface while the Folder type represents a managed wrapper over the native IShellItem interface. The Folder type should generally be preferred over this.
Inheritance Hierarchy
SystemObject
  callback.ShellBoost.Core.WindowsShellCoreShellFolder

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public sealed class CoreShellFolder : IWithIdList

The CoreShellFolder type exposes the following members.

Properties
  NameDescription
Public propertyClassId
Gets the class identifier.
Public propertyIdList
Gets this item's absolute PIDL.
Public propertyItem
Gets the corresponding item instance.
Public propertyNativeObject
Gets the underlying Shell native object (IShellFolder).
Public propertyParent
Gets the parent folder. Note the desktop folder's parent is the desktop folder.
Public propertySHGDN_FORADDRESSBAR
Gets the display name relative to the parent folder. In UI this name is generally ideal for display to the user.
Public propertySHGDN_FOREDITING
Gets the display name relative to the parent folder. In UI this name is generally ideal for display to the user.
Public propertySHGDN_FORPARSING
Gets the display name relative to the parent folder. In UI this name is generally ideal for display to the user.
Public propertySHGDN_NORMAL
Gets the display name relative to the parent folder. In UI this name is generally ideal for display to the user.
Top
Methods
  NameDescription
Public methodBindToObject(IntPtr, Guid, IBindCtx, Boolean)
Retrieves a handler, typically the Shell folder object that implements IShellFolder for a particular item.
Public methodBindToObject(IWithIdList, Guid, IBindCtx, Boolean)
Retrieves a handler, typically the Shell folder object that implements IShellFolder for a particular item.
Public methodBindToObjectT(IntPtr, IBindCtx, Boolean)
Retrieves a handler, typically the Shell folder object that implements IShellFolder for a particular item.
Public methodBindToObjectT(IWithIdList, IBindCtx, Boolean)
Retrieves a handler, typically the Shell folder object that implements IShellFolder for a particular item.
Public methodBindToStorage(IntPtr, Guid, IBindCtx, Boolean)
Requests a pointer to an object's storage interface.
Public methodBindToStorage(IWithIdList, Guid, IBindCtx, Boolean)
Requests a pointer to an object's storage interface.
Public methodBindToStorageT(IntPtr, IBindCtx, Boolean)
Requests a pointer to an object's storage interface.
Public methodBindToStorageT(IWithIdList, IBindCtx, Boolean)
Requests a pointer to an object's storage interface.
Public methodCompareIds(Int64, IWithIdList, IWithIdList, Boolean)
Determines the relative order of two file objects or folders.
Public methodCompareIds(Int64, IntPtr, IntPtr, Boolean)
Determines the relative order of two file objects or folders.
Public methodCreateViewObject(Guid, Boolean)
Requests an object that can be used to obtain information from or interact with a folder object.
Public methodCreateViewObject(IntPtr, Guid, Boolean)
Requests an object that can be used to obtain information from or interact with a folder object.
Public methodCreateViewObjectT(Boolean)
Requests an object that can be used to obtain information from or interact with a folder object.
Public methodCreateViewObjectT(IntPtr, Boolean)
Requests an object that can be used to obtain information from or interact with a folder object.
Public methodEnumObjects(SHCONTF, Boolean)
Enables a client to determine the contents of a folder by creating an item identifier enumeration object.
Public methodEnumObjects(IntPtr, SHCONTF, Boolean)
Enables a client to determine the contents of a folder by creating an item identifier enumeration object.
Public methodEnumObjectsPidls(SHCONTF, Boolean)
Enables a client to determine the contents of a folder by creating a PIDL enumeration object.
Public methodEnumObjectsPidls(IntPtr, SHCONTF, Boolean)
Enables a client to determine the contents of a folder by creating a PIDL enumeration object.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecCommand(IntPtr, Guid, Int32, Object, OLECMDEXECOPT, IBindCtx, Boolean)
Executes the specified command. Depends on the folder'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.
Public methodExecCommand(IWithIdList, Guid, Int32, Object, OLECMDEXECOPT, IBindCtx, Boolean)
Executes the specified command. Depends on the folder'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.
Public methodStatic memberFromClsid
Gets a Folder instance from a native COM object.
Public methodGetAttributesOf(IEnumerableIWithIdList, SFGAO, Boolean)
Gets the attributes of one or more file or folder objects contained in the object represented by this instance.
Public methodGetAttributesOf(IEnumerableIntPtr, SFGAO, Boolean)
Gets the attributes of one or more file or folder objects contained in the object represented by this instance.
Public methodGetAttributesOf(IntPtr, SFGAO, Boolean)
Gets the attributes of one file or folder object contained in the object represented by this instance.
Public methodGetAttributesOf(IWithIdList, SFGAO, Boolean)
Gets the attributes of one file or folder object contained in the object represented by this instance.
Public methodGetDisplayNameOf(IntPtr, SHGDNF, Boolean)
Retrieves the display name for the specified file object or subfolder.
Public methodGetDisplayNameOf(IWithIdList, SHGDNF, Boolean)
Retrieves the display name for the specified file object or subfolder.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetParent(Boolean)
Gets the parent folder.
Public methodGetParent(ShellItemIdList, Boolean)
Gets the parent folder.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUIObjectOf(IEnumerableIWithIdList, Guid, Boolean)
Gets an object that can be used to carry out actions on the specified file objects or folders.
Public methodGetUIObjectOf(IEnumerableIntPtr, Guid, Boolean)
Gets an object that can be used to carry out actions on the specified file objects or folders.
Public methodGetUIObjectOf(IntPtr, IEnumerableIWithIdList, Guid, Boolean)
Gets an object that can be used to carry out actions on the specified file objects or folders.
Public methodGetUIObjectOf(IntPtr, IEnumerableIntPtr, Guid, Boolean)
Gets an object that can be used to carry out actions on the specified file objects or folders.
Public methodGetUIObjectOfT(IEnumerableIWithIdList, Boolean)
Gets an object that can be used to carry out actions on the specified file objects or folders.
Public methodGetUIObjectOfT(IEnumerableIntPtr, Boolean)
Gets an object that can be used to carry out actions on the specified file objects or folders.
Public methodGetUIObjectOfT(IntPtr, IEnumerableIWithIdList, Boolean)
Gets an object that can be used to carry out actions on the specified file objects or folders.
Public methodGetUIObjectOfT(IntPtr, IEnumerableIntPtr, Boolean)
Gets an object that can be used to carry out actions on the specified file objects or folders.
Public methodInitialize(IntPtr, Boolean)
Initializes the Shell Folder.
Public methodInitialize(IWithIdList, Boolean)
Initializes the Shell Folder.
Public methodParseDisplayName(String, IBindCtx, SFGAO, Boolean)
Translates the display name of a file object or a folder into an item identifier list.
Public methodParseDisplayName(IntPtr, String, IBindCtx, SFGAO, Boolean)
Translates the display name of a file object or a folder into an item identifier list.
Public methodSetNameOf(IntPtr, String, SHGDNF, Boolean)
Sets the display name of a file object or subfolder, changing the item identifier in the process.
Public methodSetNameOf(IWithIdList, String, SHGDNF, Boolean)
Sets the display name of a file object or subfolder, changing the item identifier in the process.
Public methodSetNameOf(IntPtr, IWithIdList, String, SHGDNF, Boolean)
Sets the display name of a file object or subfolder, changing the item identifier in the process.
Public methodSetNameOf(IntPtr, IntPtr, String, SHGDNF, Boolean)
Sets the display name of a file object or subfolder, changing the item identifier in the process.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Extension Methods
See Also