SearchResultForCategories Constructor (Stream, String, String, String) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Creates a new instance of the SearchResultForCategories class that writes to the specified stream. If neither Categories nor Units contain anything to search, the entire site is searched.

Namespace: ContentStudio.Site.ActiveScripting.Search
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public SearchResultForCategories(
	Stream output,
	string criteria,
	string categories,
	string units
)

Parameters

output
Type: System.IOStream
A stream to write to. This parameter can be null to use the output stream of the Response object.
criteria
Type: SystemString
The search string argument to use. This parameter cannot be null..
categories
Type: SystemString
An XML document that contains a list of categories to search in. If this value is empty or "<categories />", the Units list is used instead.
units
Type: SystemString
A comma separated list of unit ID's to search in.
Examples

XML document syntax in Categories: <categories> <category name="MyCategory">Numeric category value</category> <!--more categories can follow--></categories>
See Also

Reference