Class FilterSkipCount
Filter that removes the first x number of pages from the PageDataCollection.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Filters
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public class FilterSkipCount : PageFilterBase, IPageFilter, IContentFilter
Constructors
FilterSkipCount()
Initializes a new instance of the FilterSkipCount class.
Declaration
public FilterSkipCount()
FilterSkipCount(Int32)
Initializes a new instance of the FilterSkipCount class.
Declaration
public FilterSkipCount(int skipCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | skipCount | The amount of pages that should be removed. |
Properties
SkipCount
Gets or sets the amount of pages that should be removed.
Declaration
public int SkipCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The amount of pages that should be removed. |
Methods
Filter(PageDataCollection)
Filters the specified pages.
Declaration
public override void Filter(PageDataCollection pages)
Parameters
Type | Name | Description |
---|---|---|
PageDataCollection | pages | The pages that should be filtered. |
Overrides
ShouldFilter(IContent)
If the content should be filtered.
Declaration
public override bool ShouldFilter(IContent content)
Parameters
Type | Name | Description |
---|---|---|
IContent | content |
Returns
Type | Description |
---|---|
System.Boolean | True if the filter will remove the page; otherwise false. |
Overrides
ShouldFilter(PageData)
If the page should be filtered.
Declaration
public override bool ShouldFilter(PageData page)
Parameters
Type | Name | Description |
---|---|---|
PageData | page | The page that you want to check. |
Returns
Type | Description |
---|---|
System.Boolean | True if the filter will remove the page; otherwise false. |
Overrides
Remarks
FilterSkipCount does not support ShouldFilter method.