Click or drag to resize
ISelectorControllerTViewModelGet Method (String, String, Int32, Int32)
Gets list of view models that are containing name.

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 10.0.0
Syntax
C#
IEnumerable<TViewModel> Get(
	string objType,
	string name = "",
	int pageIndex = 0,
	int pageSize = 10
)

Parameters

objType
Type: SystemString
Object type used to identify different data types within one controller.
name (Optional)
Type: SystemString
Part of models's name.
pageIndex (Optional)
Type: SystemInt32
Index of the page. Pages are indexed from 0 (first page).
pageSize (Optional)
Type: SystemInt32
Number of results in the page.

Return Value

Type: IEnumerableTViewModel
List of view models with id and text properties.
See Also