This function renames the given stream.
Namespace: VcClientAssembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)
Syntax
C# |
---|
public static void Rename(
string stream,
string newName,
bool overwrite
) |
Visual Basic |
---|
Public Shared Sub Rename ( _
stream As String, _
newName As String, _
overwrite As Boolean _
) |
Visual C++ |
---|
public:
static void Rename(
String^ stream,
String^ newName,
bool overwrite
) |
Parameters
- stream
- Type: String
The original name of the stream.
- newName
- Type: String
The new name of the stream.
- overwrite
- Type: Boolean
Indicates whether destination stream should be overwritten.
This parameter can be set to true only if stream to be renamed remains in the same folder.
Rename will be executed atomically. Note that consistency of read operation is not guaranteed
if read is executed in parallel with rename. E.g. portion of the stream can be read either
from old or new streams.
See Also