Page.CreateContent Method

Called by the Administration Console to create content for the page.

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

protected:
virtual PageContent^ CreateContent () abstract
protected abstract PageContent CreateContent ()
protected abstract function CreateContent () : PageContent

Return Value

An instance of PageContent.

The following code example shows how to initialize a new Page in a user-defined class and override the CreateContent method:

class AddinSample : Page
{
    public AddinSample() : base(new Guid("6bee53dd-4eb8-4aeb-98a1-7af77a8bb449"), "DisplayName", "Description")
    {
    }

    protected override PageContent CreateContent()
    {
        return PageContent.Create<TBusinessObject>(
            listProvider,
            listColumns,
            listGroupings,
            tasks);
    }
}

A PageContent object is created by calling one of the Create methods of PageContent.

This method must be overridden in a user-defined class.


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

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

Community Additions

Show: