SftDirectory 2.5

SftDirectory.GetItemIDListRoot Method

Softel vdm, Inc.

Retrieves the root folder's ITEMIDLIST given an absolute ITEMIDLIST.

Syntax       

VB.NET

object.GetItemIDListRoot(ByVal absoluteIDL As String, ByRef RootIDL As String, ByRef RemainingIDL As String)

VB

object.GetItemIDListRoot(ByVal absoluteIDL As String, RootIDL As String, RemainingIDL As String)

C#.NET

void object.GetItemIDListRoot(string absoluteIDL, out string RootIDL, out string RemainingIDL);

VC++

HRESULT object->GetItemIDListRoot(_bstr_t absoluteIDL, _bstr_t* RootIDL, _bstr_t* RemainingIDL);

C

HRESULT object->raw_GetItemIDListRoot(BSTR absoluteIDL, BSTR* RootIDL, BSTR* RemainingIDL);

Delphi

procedure object.GetItemIDListRoot(absoluteIDL : WideString, out RootIDL : WideString, out RemainingIDL : WideString);

object

A SftDirectory object.

absoluteIDL

The file/folder's ITEMIDLIST structure, for which the root folder's ITEMIDLIST is to be returned.

RootIDL

Returns the root folder's ITEMIDLIST structure.

RemainingIDL

Returns the file/folder's relative ITEMIDLIST structure (relative to the root folder).

Comments

The GetItemIDListRoot method retrieves the root folder's ITEMIDLIST given an absolute ITEMIDLIST.

ITEMIDLIST structures are typically used when communicating with the Windows Shell.  For detailed information about the ITEMIDLIST structure and its use, please see Microsoft's Windows documentation.


Feedback / comments / error reports for this topic
© 2003, 2008 - Softel vdm, Inc. - www.softelvdm.com