Click or drag to resize

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

Namespace:  callback.ShellBoost.Core
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static ShellItemId FromFileSystem(
	string name,
	FileAttributes attributes
)

Parameters

name
Type: SystemString
The name.
attributes
Type: System.IOFileAttributes
The attributes.

Return Value

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