System.Shell.Folder.parse Method
Retrieves a System.Shell.Folder object that represents the folder containing the specified file.
Syntax
oFolder = System.Shell.Folder.parse(
strFilePath
)
Parameters
- strFilePath [in]
BSTR Sets String that specifies the name of the file. - oFolder [out]
Object Sets System.Shell.Folder object that represents the parent folder.
Return Value
HRESULT
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
IDL | Sidebar.idl |
DLL | Sidebar.Exe version 1.00 or later |
See Also
Send comments about this topic to Microsoft
Build date: 2/24/2010
Build type: SDK