- Properties
- Add
- AsArray
- Clear
- Clone
- Contains
- CopyTo
- ForEach
- GetEnumerator
- HasErrors
- IndexOf
- Insert
- Remove
- RemoveAt
Properties
Name | Access | Type | Description |
---|---|---|---|
Count | Read | Int32 | Count |
Errors | Read | IList of Error | Errors |
IsReadOnly | Read | Boolean | Is Read Only |
Item | Read, Write | Blog | Item |
PageIndex | Read, Write | Int32 | Page Index |
PageSize | Read, Write | Int32 | Page Size |
TotalCount | Read, Write | Int32 | Total Count |
Warnings | Read | IList of Warning | Warnings |
Methods
Add
Velocity
$pagedList.Add($item)
JavaScript
pagedList.Add(item);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
item | Blog | Item | Required |
Returns
NothingAsArray
Velocity
#set($blogResponse = $pagedList.AsArray())
JavaScript
var blogResponse = pagedList.AsArray();
Returns
Array of Blog
Clear
Velocity
$pagedList.Clear()
JavaScript
pagedList.Clear();
Returns
NothingClone
Velocity
#set($objectResponse = $pagedList.Clone())
JavaScript
var objectResponse = pagedList.Clone();
Returns
Object
Contains
Velocity
#set($booleanResponse = $pagedList.Contains($item))
JavaScript
var booleanResponse = pagedList.Contains(item);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
item | Blog | Item | Required |
Returns
Boolean
CopyTo
Velocity
$pagedList.CopyTo($array, $arrayIndex)
JavaScript
pagedList.CopyTo(array, arrayIndex);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
array | Array of Blog | Array | Required | ||
arrayIndex | Int32 | Array Index | Required |
Returns
NothingForEach
Velocity
$pagedList.ForEach($action)
JavaScript
pagedList.ForEach(action);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
action | Action of Blog | Action | Required |
Returns
NothingGetEnumerator
Velocity
#set($iEnumeratorResponse = $pagedList.GetEnumerator())
JavaScript
var iEnumeratorResponse = pagedList.GetEnumerator();
Returns
IEnumerator of Blog
HasErrors
Velocity
#set($booleanResponse = $pagedList.HasErrors())
JavaScript
var booleanResponse = pagedList.HasErrors();
Returns
Boolean
IndexOf
Velocity
#set($int32Response = $pagedList.IndexOf($item))
JavaScript
var int32Response = pagedList.IndexOf(item);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
item | Blog | Item | Required |
Returns
Int32
Insert
Velocity
$pagedList.Insert($index, $item)
JavaScript
pagedList.Insert(index, item);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
index | Int32 | Index | Required | ||
item | Blog | Item | Required |
Returns
NothingRemove
Velocity
#set($booleanResponse = $pagedList.Remove($item))
JavaScript
var booleanResponse = pagedList.Remove(item);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
item | Blog | Item | Required |
Returns
Boolean
RemoveAt
Velocity
$pagedList.RemoveAt($index)
JavaScript
pagedList.RemoveAt(index);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
index | Int32 | Index | Required |