Help > Web Development > Object Reference > Object Reference > ISYSIndexer > UpdateDocument Method
<a name="kanchor442"></a>ISYSIndexer:UpdateDocument Method
Updates the named document in the index.

Syntax
[VBScript]
sub ISYSIndexer.UpdateDocument(_
  string Filename, _ 
  long Format_ 
)
[C#]
void IISYSIndexer.UpdateDocument(
  string Filename, 
  long Format
);
[ColdFusion/Java]
void IISYSIndexer.UpdateDocument(
  java.lang.String Filename, 
  long Format
) throws ComException;
Parameters
FilenameFile name of the document to add
FormatThe format of the file to add to the index

Examples
[VBScript]
<% set indexer = Application("ISYSIndex").Indexer ' Updates the document, 33 instructs ISYS to work out the format indexer.UpdateDocument(Request("filename"), 33) %>
See Also