Skip to main content
Skip table of contents

GlobalSearchDocument(string, string) Constructor

Initializes a new instance of the GlobalSearchDocument class with a specified Archive ID and Document ID.


CODE
public GlobalSearchDocument(int archiveId, int documentId)

Parameters

value archiveId

Archive Id of the GlobalSearch document.

value documentId

DocumentId of the GlobalSearch document.


Example

The following example demonstrates creating a GlobalSearch document with an ArchiveId of 1 and a DocumentId of 1.

CODE
var document = new GlobalSearchDocument(1, 1);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.