System.Shell.Item object
[The Windows Gadget Platform/Sidebar is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. ]
Defines the properties of each member of the Items collection.
Members
The System.Shell.Item object has these types of members:
Methods
The System.Shell.Item object has these 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 has these 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 [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
End of client support |
Windows 7 |
End of server support |
Windows Server 2008 |
IDL |
|
DLL |
|