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
listProvider
Type: Microsoft.WindowsServerSolutions.Administration.ObjectModel.ListProvider<TBusinessObject>A ListProvider<TBusinessObject> object that returns instances of business objects for use within the page.
listColumns
Type: Microsoft.WindowsServerSolutions.Administration.ObjectModel.ListColumnCollection<TBusinessObject>A ListColumnCollection<TBusinessObject> object that provides the columns in the list pane of the page.
listGroupings
Type: Microsoft.WindowsServerSolutions.Administration.ObjectModel.ListGroupingCollection<TBusinessObject>A ListGroupingCollection<TBusinessObject> object that defines the groups in the list pane of page.
tasks
Type: Microsoft.WindowsServerSolutions.Administration.ObjectModel.TaskCollectionA TaskCollection object that provides the tasks in the task pane of the page.
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