IFileOperationRenameItems Method
Declares a set of items that are to be given a new display name. All items are given the same name.
Namespace: DevCase.Win32.InterfacesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
HResult RenameItems(
Object pUnkItems,
string pszNewName
)
Function RenameItems (
pUnkItems As Object,
pszNewName As String
) As HResult
Dim instance As IFileOperation
Dim pUnkItems As Object
Dim pszNewName As String
Dim returnValue As HResult
returnValue = instance.RenameItems(pUnkItems,
pszNewName)
HResult RenameItems(
Object^ pUnkItems,
String^ pszNewName
)
abstract RenameItems :
pUnkItems : Object *
pszNewName : string -> HResult
No code example is currently available or this language may not be supported.
- pUnkItems Object
-
Pointer to the IUnknown of the IShellItemArray, IDataObject,
or IEnumShellItems object which represents the group of items to be renamed.
You can also point to an IPersistIDList object to represent a single item,
effectively accomplishing the same function as RenameItem(IShellItem, String, IFileOperationProgressSink).
- pszNewName String
-
Pointer to the new display name of the items. This is a null-terminated, Unicode string.
HResult
If this method succeeds, it returns
S_OK.
Otherwise, it returns an
HResult error code.