Computes the full file name from base, extension and generation. If the generation is -1, the file name is null. If it's 0, the file name is If it's > 0, the file name is

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

Syntax

C#
public static string FileNameFromGeneration(
	string base_Renamed,
	string extension,
	long gen
)
Visual Basic
Public Shared Function FileNameFromGeneration ( _
	base_Renamed As String, _
	extension As String, _
	gen As Long _
) As String
Visual C++
public:
static String^ FileNameFromGeneration(
	String^ base_Renamed, 
	String^ extension, 
	long long gen
)

Parameters

base_Renamed
Type: System..::..String

[Missing <param name="base_Renamed"/> documentation for "M:Lucene.Net.Index.IndexFileNames.FileNameFromGeneration(System.String,System.String,System.Int64)"]

extension
Type: System..::..String
-- extension of the filename (including .)
gen
Type: System..::..Int64
-- generation

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.IndexFileNames.FileNameFromGeneration(System.String,System.String,System.Int64)"]

See Also