Partager via


PageContent.Create Method (Func<Object, IComponent, Control>, TaskCollection, Object)

 

Creates new page content, using the specified view factory, tasks, and object ID.

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

Syntax

public static PageContent Create(
    Func<object, IComponent, Control> viewFactory,
    TaskCollection tasks,
    object oid
)
public:
static PageContent^ Create(
    Func<Object^, IComponent^, Control^>^ viewFactory,
    TaskCollection^ tasks,
    Object^ oid
)
Public Shared Function Create (
    viewFactory As Func(Of Object, IComponent, Control),
    tasks As TaskCollection,
    oid As Object
) As PageContent

Parameters

Return Value

Type: Microsoft.WindowsServerSolutions.Administration.ObjectModel.PageContent

The new page content.

See Also

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

Return to top