IFeed::Rename Method

Renames the feed.

Syntax

HRESULT Rename(
    BSTR name
);

Parameters

  • name
    [in] BSTR that contains the new name for the feed.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

All characters in the current code page, including Unicode characters, may be used in the name except control characters in the range of 0 (zero) through 31. If invalid characters are used, the method will fail with an HRESULT derived from the Microsoft Win32 error ERROR_ILLEGAL_CHARACTER. For more information, see Valid Feed and Folder Names.

Note  When a feed is renamed, the corresponding enclosure folder is renamed accordingly.

See Also

IFeed::LocalEnclosurePath, IFeed::Name