Click or drag to resize
SearchDocumentExtensionsInitialize Method (SearchDocument, SearchDocumentParameters)
Initializes search document from parameters.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public static void Initialize(
	this SearchDocument document,
	SearchDocumentParameters parameters
)

Parameters

document
Type: CMS.DataEngineSearchDocument
Document to initialize.
parameters
Type: CMS.DataEngineSearchDocumentParameters
Document initialization parameters.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SearchDocument. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when parameters does not have Type or Id specified.
See Also