Returns the time the index in the named directory was last modified. Do not use this to check whether the reader is still up-to-date, use {@link #IsCurrent()} instead.

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

Syntax

C#
[ObsoleteAttribute("Use LastModified(Directory) instead. This method will be removed in the 3.0 release.")]
public static long LastModified(
	string directory
)
Visual Basic
<ObsoleteAttribute("Use LastModified(Directory) instead. This method will be removed in the 3.0 release.")> _
Public Shared Function LastModified ( _
	directory As String _
) As Long
Visual C++
[ObsoleteAttribute(L"Use LastModified(Directory) instead. This method will be removed in the 3.0 release.")]
public:
static long long LastModified(
	String^ directory
)

Parameters

directory
Type: System..::..String

[Missing <param name="directory"/> documentation for "M:Lucene.Net.Index.IndexReader.LastModified(System.String)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.IndexReader.LastModified(System.String)"]

See Also