Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Windows Shell
Shell Reference
Folder

  Switch on low bandwidth view
Folder Object

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

Members Table

The following table lists the members exposed by the Folder object.

Attributes/Properties

PropertyDescription
Application Contains the folder's Application object.
Parent Not implemented.
ParentFolder Contains the parent Folder object.
Title Contains the title of the folder.

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.

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.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
ParseName and WebFolders      yecril   |   Edit   |   Show History
If you call ParseName in a Web folder and the relative path is composed of several steps separated by backslash characters, the Parent of the resulting FolderItem resolves incorrectly to the first step.
Make sure you always replace backslash separators with slash separators in relative paths when dealing with Web folders.
Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker