Click or drag to resize

ShellItemIdList Class

A class that represent a Windows Shell's ITEMIDLIST structure also called a PIDL.
Inheritance Hierarchy
SystemObject
  callback.ShellBoost.CoreShellItemIdList

Namespace:  callback.ShellBoost.Core
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public class ShellItemIdList : IReadOnlyList<ShellItemId>, 
	IReadOnlyCollection<ShellItemId>, IEnumerable<ShellItemId>, IEnumerable, 
	IEquatable<ShellItemIdList>, IWithIdList

The ShellItemIdList type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyContainsKnownId
Gets a value indicating whether this instance contains at least one id known by the current Shell Folder Server.
Public propertyCount
Gets the number of elements (SHITEMID structures) in the collection, including the terminator.
Public propertyData
Gets the PIDLs' data.
Public propertyDebugString
Gets a string useful for developers.
Public propertyStatic memberDesktop
Gets the desktop PIDL.
Public propertyIdCount
Gets the number of elements (SHITEMID structures) in the collection, excluding the terminator.
Public propertyIsTerminator
Gets a value indicating whether this instance contains only the terminator.
Public propertyItem
Gets the ShellItemId at the specified index.
Public propertyLast
Gets the last SHITEMID of this instance. This is not the terminator.
Public propertyParent
Gets the parent PIDL.
Public propertyRelativeFromParent
Gets this PIDL relative from its parent. This is like the Last id with a terminator.
Public propertySize
Gets the PIDL's size.
Top
Methods
  NameDescription
Public methodAdd
Adds the specified SHITEMID structure to this instance.
Public methodAddRange
Adds a range of SHITEMID structures to this instance.
Protected methodClearCache
Clears the cache.
Public methodClone
Clones this instance.
Public methodComparesAsAbsolute
Determines the relative order this instance to another.
Protected methodComputeHashCode
Computes the hash code for this instance.
Public methodCopyToPointer
Allocates a buffer and copy this instance to the allocated buffer. Once used, the buffer must be freed using Marshal.FreeCoTaskMem.
Public methodCopyToPointer(Int32)
Allocates a buffer and copy this instance to the allocated buffer. Once used, the buffer must be freed using Marshal.FreeCoTaskMem.
Public methodEquals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Public methodEquals(ShellItemIdList)
Indicates whether the current object is equal to another object of the same type.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromFileSystem
Creates an instance of a ShellItemIdList from a file system path and attributes. Note the PIDL created is internal to ShellBoost, it cannot be used as a standard Windows Shell PIDL.
Public methodStatic memberFromPointer
Builds a PIDL from a native pointer.
Public methodGetAsRelativeFrom
Get this PIDL relatively from a parent PIDL.
Protected methodGetData
Gets the data.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetFileSystemPath
Gets the file system path, if this instance represents a Shell Item that defines a file system path. Note this will call back into the Shell API, so, if this PIDL is already known to you (for example, it's one of your ShellItem's PIDL), prefer another method.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetName
Gets the name. Note this will call back into the Shell API, so, if this PIDL is already known to you (for example, it's one of your ShellItem's PIDL), prefer another method.
Public methodGetPath
Gets the path. Note this will call back into the Shell API, so, if this PIDL is already known to you (for example, it's one of your ShellItem's PIDL), prefer another method.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsChildOf
Determines if this instance is a child of another instance.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRefreshShellViews
Refreshes all current Windows Shell views.
Public methodRefreshShellViews(RefreshViewsOptions)
Refreshes all current Windows Shell views.
Public methodResetShellThumbnail
Resets the shell thumbnails cache for this instance.
Public methodToHexa
Convert this instance to an hexadecimal string. Useful for developers.
Public methodToHexa(String)
Convert this instance to an hexadecimal string. Useful for developers.
Public methodToHexaDump
Convert this instance to an hexadecimal dump string. Useful for developers.
Public methodToHexaDump(String)
Convert this instance to an hexadecimal dump string. Useful for developers.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the == operator.
Public operatorStatic memberInequality
Implements the != operator.
Top
Extension Methods
See Also