Click or drag to resize

ShellItemIdFromFileSystem Method (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.

Namespace:  ShellBoost.Core
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static ShellItemId FromFileSystem(
	FileSystemInfo info
)

Parameters

info
Type: System.IOFileSystemInfo
The FileSystemInfo instance.

Return Value

Type: ShellItemId
An instance of the ShellItemId class.
Exceptions
ExceptionCondition
ArgumentNullExceptioninfo is null.
See Also