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(
	FileInfo fileDirectory
)
Visual Basic
<ObsoleteAttribute("Use LastModified(Directory) instead. This method will be removed in the 3.0 release.")> _
Public Shared Function LastModified ( _
	fileDirectory As FileInfo _
) 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(
	FileInfo^ fileDirectory
)

Parameters

fileDirectory
Type: System.IO..::..FileInfo

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

Return Value

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

See Also