Partager via


PageContent.Create<TBusinessObject> Method (ListProvider<TBusinessObject>, ListColumnCollection<TBusinessObject>, ListGroupingCollection<TBusinessObject>, TaskCollection)

 

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

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Syntax

public static PageContent Create<TBusinessObject>(
    ListProvider<TBusinessObject> listProvider,
    ListColumnCollection<TBusinessObject> listColumns,
    ListGroupingCollection<TBusinessObject> listGroupings,
    TaskCollection tasks
)
where TBusinessObject : class
public:
generic<typename TBusinessObject>
where TBusinessObject : ref class
static PageContent^ Create(
    ListProvider<TBusinessObject>^ listProvider,
    ListColumnCollection<TBusinessObject>^ listColumns,
    ListGroupingCollection<TBusinessObject>^ listGroupings,
    TaskCollection^ tasks
)
Public Shared Function Create(Of TBusinessObject As Class) (
    listProvider As ListProvider(Of TBusinessObject),
    listColumns As ListColumnCollection(Of TBusinessObject),
    listGroupings As ListGroupingCollection(Of TBusinessObject),
    tasks As TaskCollection
) As PageContent

Parameters

Return Value

Type: Microsoft.WindowsServerSolutions.Administration.ObjectModel.PageContent

An instance of PageContent.

Type Parameters

  • 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.

Exceptions

Exception 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.

See Also

Create Overload
PageContent Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top