Upravit

Sdílet prostřednictvím


FolderItem object

Represents an item in a Shell folder. This object contains properties and methods that allow you to retrieve information about the item.

Members

The FolderItem object has these types of members:

Methods

The FolderItem object has these methods.

Method Description
InvokeVerb Executes a verb on the item.
Verbs Retrieves the item's FolderItemVerbs object. This object is the collection of verbs that can be executed on the item.

 

Properties

The FolderItem object has these properties.

Property Access type Description
Application
Read-only
Contains the Application object of the folder item.
GetFolder
Read-only
Contains the item's Folder object, if the item is a folder.
GetLink
Read-only
Contains the item's ShellLinkObject object, if the item is a shortcut.
IsBrowsable
Read-only
Indicates if the item can be hosted inside a browser or Windows Explorer frame.
IsFileSystem
Read-only
Indicates if the item is part of the file system.
IsFolder
Read-only
Indicates if the item is a folder.
IsLink
Read-only
Indicates whether the item is a shortcut.
ModifyDate
Read/write
Sets or gets the date and time that a file was last modified. ModifyDate can be used to retrieve the date and time that a folder was last modified, but cannot set it.
Name
Read/write
Sets or gets the item's name.
Parent
Read-only
Gets an object that represents the parent of the item.
Path
Read-only
Contains the item's full path and name.
Size
Read-only
Contains the item's size.
Type
Read-only
Contains a string representation of the item's type.

 

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Shldisp.h
IDL
Shldisp.idl
DLL
Shell32.dll (version 4.71 or later)