Rock.Model.PageContextService.GetByPageId C# (CSharp) Method

GetByPageId() public method

Returns an enumerable collection of Rock.Model.PageContext entities that are used on a page.
public GetByPageId ( int pageId ) : IQueryable
pageId int An that contains the Id of the to search by.
return IQueryable
        public IQueryable<PageContext> GetByPageId( int pageId )
        {
            return Queryable().Where( t => t.PageId == pageId );
        }
PageContextService