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,
	string serializedEntityToken
)
Visual Basic
Public Sub New ( _
	source As String, _
	id As String, _
	label As String, _
	serializedEntityToken As String _
)
Visual C++
public:
SearchDocument(
	String^ source, 
	String^ id, 
	String^ label, 
	String^ serializedEntityToken
)

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.
serializedEntityToken
Type: System..::..String
The serialized entity token, will be used to locate the found document in the console tree structure.

See Also