Share via


PageContent.Create Generic Method (Generic ListProvider, Generic ListColumnCollection, Generic ListGroupingCollection, TaskCollection)

Initializes a new instance of the PageContent class that is used by a page in the Administration Console to provide a list pane and a task pane. This method also provides information for grouping data in the list pane of the page.

Namespace: Microsoft.EssentialBusinessServer.Console.ObjectModel
Assembly: Microsoft.EssentialBusinessServer.Console.ObjectModel (in microsoft.essentialbusinessserver.console.objectmodel.dll)

Usage

Syntax

'Declaration
Public Shared Function Create(Of TBusinessObject) ( _
    listProvider As ListProvider(Of TBusinessObject), _
    listColumns As ListColumnCollection(Of TBusinessObject), _
    listGroupings As ListGroupingCollection(Of TBusinessObject), _
    tasks As TaskCollection _
) As PageContent
public static PageContent Create<TBusinessObject> (
    ListProvider<TBusinessObject> listProvider,
    ListColumnCollection<TBusinessObject> listColumns,
    ListGroupingCollection<TBusinessObject> listGroupings,
    TaskCollection tasks
)
public:
generic<typename TBusinessObject>
static PageContent^ Create (
    ListProvider<TBusinessObject>^ listProvider, 
    ListColumnCollection<TBusinessObject>^ listColumns, 
    ListGroupingCollection<TBusinessObject>^ listGroupings, 
    TaskCollection^ tasks
)

Parameters

  • listProvider
    A ListProvider object that returns instances of business objects for use within the page.
  • tasks
    A TaskCollection object that provides the tasks in the task pane of the page.

Return Value

An instance of PageContent.

Exceptions

Exception type Condition
ArgumentNullException

One or more of the parameters are null.

Remarks

TBusinessObject represents a business object that encapsulates information and methods that relate to business data or business functionality. The information in the business object is exposed as properties.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008 64-bit Edition, Windows Vista 64-bit Edition, Windows Essential Business Server 2008 Standard, Windows Essential Business Server 2008 Premium

Target Platforms

Windows Essential Business Server 2008 Standard, Windows Essential Business Server 2008 Premium

See Also

Reference

PageContent Class
PageContent Members
Microsoft.EssentialBusinessServer.Console.ObjectModel Namespace