System.Shell.Item Object

Defines the properties of each member of the Items collection.

Members

The System.Shell.Item object defines the following members:

  • Methods
  • Properties

Methods

The System.Shell.Item object defines the following methods.

Method Description
invokeVerb

Invokes a verb associated with the item.

metadata

Retrieves the metadata value for a canonical property name key of the System.Shell.Item.

 

Properties

The System.Shell.Item object defines the following properties.

Property Access type Description

isFileSystem

Read-only

Gets whether the object is a file.

isFolder

Read-only

Gets whether the object is a folder.

isLink

Read-only

Gets whether the object is a link (or shortcut).

link

Read-only

Gets a System.Shell.Item object that represents the linked item.

modifyDate

Read-only

Gets the last modified date of the System.Shell.Item.

name

Read-only

Gets the name of the System.Shell.Item.

path

Read-only

Gets the UNC path (with filename) of the System.Shell.Item.

SHFolder

Read-only

Gets a System.Shell.Folder object from the System.Shell.Item.

size

Read-only

Gets the size (in bytes) of the System.Shell.Item.

type

Read-only

Gets the verbose file type (not the extension) of the Windows Shell item.

 

Remarks

Each System.Shell.Item in the Items collection corresponds to a file system object present on the machine.

Requirements

Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
IDL Sidebar.idl
DLL Sidebar.Exe version 1.0 or later

 

 

Send comments about this topic to Microsoft

Build date: 2/24/2010

Build type: SDK