'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Shared Function Rename( _ ByVal writableDirectoryContents As IWritableDirectoryContents, _ ByVal newDirectoryName As String _ ) As IWritableDirectoryContents
'Usage
Dim writableDirectoryContents As IWritableDirectoryContents Dim newDirectoryName As String Dim value As IWritableDirectoryContents value = IWritableDirectoryContentsExtension.Rename(writableDirectoryContents, newDirectoryName)
[Extension()] [NotNull()] public static IWritableDirectoryContents Rename( IWritableDirectoryContents writableDirectoryContents, string newDirectoryName )
[Extension()] [NotNull()] public: static IWritableDirectoryContents^ Rename( IWritableDirectoryContents^ writableDirectoryContents, String^ newDirectoryName )
Parameters
- writableDirectoryContents
- The writable directory contents object that will perform the operation.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - newDirectoryName
- New name for directory.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
This method never returns null
(Nothing
in Visual Basic).