Export (0) Print
Expand All

Folder object

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

Members

The Folder object has these types of members:

Methods

The Folder object has these methods.

MethodDescription
CopyHere

Copies an item or items to a folder.

GetDetailsOf

Retrieves details about an item in a folder. For example, its size, type, or the time of its last modification.

Items

Retrieves a FolderItems object that represents the collection of items in the folder.

MoveHere

Moves an item or items to this folder.

NewFolder

Creates a new folder.

ParseName

Creates and returns a FolderItem object that represents a specified item.

 

Properties

The Folder object has these properties.

PropertyAccess typeDescription

Application

Read-only

Contains the folder's Application object.

Parent

Read-only

Not implemented.

ParentFolder

Read-only

Contains the parent Folder object.

Title

Read-only

Contains the title of the folder.

 

Remarks

Note  Not all methods are implemented for all folders. For example, the ParseName method is not implemented for the Control Panel folder (CSIDL_CONTROLS). If you attempt to call an unimplemented method, a 0x800A01BD (decimal 445) error is raised.

Requirements

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft