Click or drag to resize

ContentRestrictionPresetGetPresetsByType Method

Returns a collection of all presets with the given item type.

Namespace:  Dynamicweb.Analytics.Profiles.Integration
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public static ContentRestrictionPresetCollection GetPresetsByType(
	string itemType
)

Parameters

itemType
Type: SystemString
Preset item type.

Return Value

Type: ContentRestrictionPresetCollection
A collection of all presets with the given item type.
Exceptions
ExceptionCondition
ArgumentNullExceptionitemType is null.
ArgumentExceptionitemType is an empty string.
See Also