Makes a document for a File.

The document has three fields:

  •  Copy imageCopy
    path
    --containing the pathname of the file, as a stored, untokenized field;
  •  Copy imageCopy
    modified
    --containing the last modified date of the file as a field as created by DateTools; and
  •  Copy imageCopy
    contents
    --containing the full contents of the file, as a Reader field;

Namespace: MonoSoftware.MonoX.SearchEngine.Providers
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public static Document Document(
	FileInfo f
)
Visual Basic
Public Shared Function Document ( 
	f As FileInfo
) As Document
Visual C++
public:
static Document^ Document(
	FileInfo^ f
)
F#
static member Document : 
        f : FileInfo -> Document 

Parameters

f
Type: System.IO..::..FileInfo

Return Value

Type: Document

See Also