IFeedFolder::Rename Method
Renames the folder.
Syntax
HRESULT Rename( BSTR folderName );
Parameters
- folderName
[in] BSTR that specifies the new name.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
The root feed folder cannot be renamed. Attempts to rename the root folder will fail with E_ACCESSDENIED.
All characters in the current code page, including Unicode characters, may be used in the feed 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.
See Also