GlobalSearchDocument(string, string) Constructor

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


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.

var document = new GlobalSearchDocument(1, 1);