Partager via


AddinPageContent.CreateControl Method ()

 

Creates the UI content for the page.

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

Syntax

public abstract Control CreateControl()
public:
virtual Control^ CreateControl() abstract
Public MustOverride Function CreateControl As Control

Return Value

Type: System.Windows.Forms.Control

A Control that creates the UI content.

Examples

The following code describes how to derive and implement an method based off CreateControl. For the complete code sample, see Quickstart: Creating a Hosted Email Adapter.

public override Control CreateControl()
{
    return tabControl;
}

See Also

AddinPageContent Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel.Adorners Namespace

Return to top