Click or drag to resize

ShellItemId Methods

The ShellItemId type exposes the following members.

Methods
  NameDescription
Protected methodStatic memberCheckedSize
Gets a checked data size.
Protected methodComputeHashCode
Computes the hash code for this instance.
Public methodStatic memberCopyToPointer
Allocates a buffer and copies this instance data to it.
Public methodEquals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Public methodEquals(ShellItemId)
Indicates whether the current object is equal to another object of the same type.
Public methodStatic memberFromData
Creates an instance of a ShellItemId from a PIDL data.
Public methodStatic memberFromFileSystem(FileSystemInfo)
Creates an instance of a ShellItemId from a FileSystemInfo instance. Note the PIDL created is internal to ShellBoost, it cannot be used as a standard Windows Shell PIDL.
Public methodStatic memberFromFileSystem(String, FileAttributes)
Creates an instance of a ShellItemId from a file system name and attributes. Note the PIDL created is internal to ShellBoost, it cannot be used as a standard Windows Shell PIDL.
Public methodStatic memberFromPayload(Byte)
Creates an instance of a ShellItemId from a byte array representing a payload (without a header).
Public methodStatic memberFromPayload(Byte, Int32)
Creates an instance of a ShellItemId from a byte array representing a payload (without a header).
Public methodStatic memberFromPayload(Byte, Int32, Int32)
Creates an instance of a ShellItemId from a byte array representing a payload (without a header).
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Protected methodGetPayload
Gets the payload, which is the Data without the Header.
Public methodTryGetFileSystemName(String)
Tries to get a file system name from this instance. Only supported for file system PIDLs created by ShellBoost, using ShellItemId.FromFileSystem or ShellItem's constructors with FileInfo or DirectoryInfo parameters.
Public methodTryGetFileSystemName(String, SFGAO)
Tries to get a file system name and attributes from this instance. Only supported for file system PIDLs created by ShellBoost, using ShellItemId.FromFileSystem or ShellItem's constructors with FileInfo or DirectoryInfo parameters.
Top
See Also