Class ContentTypesQueryParametersExtensions
- Namespace
- CMS.ContentEngine
- Assembly
- CMS.ContentEngine.dll
Content types query parameters extension methods related to smart folders.
public static class ContentTypesQueryParametersExtensions
- Inheritance
-
objectContentTypesQueryParametersExtensions
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
ContentTypesQueryParametersContent type query parameters.
smartFolderGuid
GuidGuid of the smart folder.
Returns
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
ContentTypesQueryParametersContent type query parameters.
smartFolderId
intId of the smart folder.
Returns
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
ContentTypesQueryParametersContent type query parameters.
smartFolderName
stringName of the smart folder.