The SearchTemplateContentItem type exposes the following members.

ToggleProperties

Type NameDescription
Public propertyExcludeFromQuery
Indicates whether any content search items in the search template are to be excluded. Enter a bool value of false or null if no content search items in the search template are to be excluded at runtime; true if one or more content search items are to be excluded.
Public propertyGroupAction
Specifies the group actions for the content search item to be used. The group actions specified will override the group actions for the content search item in the search template (the groupaction element). If null, no change is made to the group actions for the content search item in the search template.

Note: Some group actions may not be applicable to all supported content search engines.

Public propertyItemData
Specifies the content search item data (the query text) to be used. The content search item query text specified here overrides the content search item query text in the search template. If null, no change is made to the query text for the content search item in the search template.
Public propertyItemId
Indicates the GUID of the content search item to be modified. This is a required property.

New content search items cannot be added to a query, so the itemId value must match the GUID of a content search item existing in the search template.

Public propertyRequiredState
Specifies the content search item required state to be used. The content search item required state specified here overrides the content search item required state in the search template. If null, no change is made to the required state for the content search item in the search template.

Note: Some required states may not be applicable to all supported content search engines.

Public propertySearchModifier
Specifies a search modifier to use for the content search item. The content search item search modifier specified here overrides the content search item search modifier in the search template. If null, no change is made to the search modifier for the content search item in the search template.

Note: Some search modifiers may not be applicable to all supported content search engines.

Public propertySearchModifierRange
Specifies the content search item search modifier range to be used. The content search item search modifier range specified here overrides the content search item search modifier range in the search template. If null, no change is made to the search modifier range for the content search item in the search template.

ToggleSee Also