Table of Contents

Class ContentTypesQueryParametersExtensions

Namespace
CMS.ContentEngine
Assembly
CMS.ContentEngine.dll

Content types query parameters extension methods related to smart folders.

public static class ContentTypesQueryParametersExtensions
Inheritance
object
ContentTypesQueryParametersExtensions

Methods

InSmartFolder(ContentTypesQueryParameters, Guid)

Filters the query to return only content items that are in the specified smart folder.

public static ContentTypesQueryParameters InSmartFolder(this ContentTypesQueryParameters parameters, Guid smartFolderGuid)

Parameters

parameters ContentTypesQueryParameters

Content type query parameters.

smartFolderGuid Guid

Guid of the smart folder.

Returns

ContentTypesQueryParameters

InSmartFolder(ContentTypesQueryParameters, int)

Filters the query to return only content items that are in the specified smart folder.

public static ContentTypesQueryParameters InSmartFolder(this ContentTypesQueryParameters parameters, int smartFolderId)

Parameters

parameters ContentTypesQueryParameters

Content type query parameters.

smartFolderId int

Id of the smart folder.

Returns

ContentTypesQueryParameters

InSmartFolder(ContentTypesQueryParameters, string)

Filters the query to return only content items that are in the specified smart folder.

public static ContentTypesQueryParameters InSmartFolder(this ContentTypesQueryParameters parameters, string smartFolderName)

Parameters

parameters ContentTypesQueryParameters

Content type query parameters.

smartFolderName string

Name of the smart folder.

Returns

ContentTypesQueryParameters