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.IndexAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public static long LastModified( Directory directory2 ) |
Visual Basic |
---|
Public Shared Function LastModified ( _ directory2 As Directory _ ) As Long |
Visual C++ |
---|
public: static long long LastModified( Directory^ directory2 ) |
Parameters
- directory2
- Type: Lucene.Net.Store..::..Directory
[Missing <param name="directory2"/> documentation for "M:Lucene.Net.Index.IndexReader.LastModified(Lucene.Net.Store.Directory)"]
Return Value
[Missing <returns> documentation for "M:Lucene.Net.Index.IndexReader.LastModified(Lucene.Net.Store.Directory)"]