Constructs a new search document.

Namespace: Composite.Search
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public SearchDocument(
	string source,
	string id,
	string label,
	EntityToken entityToken
)
Visual Basic
Public Sub New ( _
	source As String, _
	id As String, _
	label As String, _
	entityToken As EntityToken _
)
Visual C++
public:
SearchDocument(
	String^ source, 
	String^ id, 
	String^ label, 
	EntityToken^ entityToken
)

Parameters

source
Type: System..::..String
The data source name.
id
Type: System..::..String
An id to update the document later on.
label
Type: System..::..String
A text to be shown in search results.
entityToken
Type: Composite.C1Console.Security..::..EntityToken
The entity token, will be used to locate the found document in the console tree structure.

See Also