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:  ShellBoost.Core
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.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