Renames an existing file in the directory.

Namespace: Lucene.Net.Store
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[ObsoleteAttribute]
public override void RenameFile(
	string from,
	string to
)
Visual Basic
<ObsoleteAttribute> _
Public Overrides Sub RenameFile ( _
	from As String, _
	to As String _
)
Visual C++
[ObsoleteAttribute]
public:
virtual void RenameFile(
	String^ from, 
	String^ to
) override

Parameters

from
Type: System..::..String

[Missing <param name="from"/> documentation for "M:Lucene.Net.Store.RAMDirectory.RenameFile(System.String,System.String)"]

to
Type: System..::..String

[Missing <param name="to"/> documentation for "M:Lucene.Net.Store.RAMDirectory.RenameFile(System.String,System.String)"]

See Also