Help > Web Development > Object Reference > Object Reference > ISYSDocument > Filename Property
<a name="kanchor312"></a>ISYSDocument:Filename Property
Returns the file name of the document as it appears in the index. Read-Only.

Syntax
[VBScript]
ReadOnly property ISYSDocument.Filename as string
[C#]
string IISYSDocument.Filename {get;}
[ColdFusion/Java]
java.lang.String ISYSDocument.Filename() throws ComException;
Examples
[VBScript]
<% set document = results.Item(i) %> <%=i%>. <%= document.Title %> <br> <%= document.Filename %> - <%= document.Relevance %> % - <%= document.Timestamp %>

Remarks
If the index was built using relative paths, this file name will be relative to the index. To obtain the absolute path, call AbsoluteFilename.

See Also