Partager via


IFeedFolder::GetSubfolder Method

Retrieves a subfolder by its name.

Syntax

HRESULT GetSubfolder(
    BSTR folderName,
    IDispatch **disp
);

Parameters

  • folderName
    [in] BSTR that specifies the name of the subfolder.
  • disp
    [out, retval] Pointer to a variable of type IDispatch that receives the specified folder, or NULL if the folder does not exist.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Use IFeedFolder::ExistsSubfolder first to determine if the folder exists.

See Also

IFeedFolder::Subfolders