Partager via


ControlRendererPage Constructor (Guid, String, String)

 

Initializes a new instance of the ControlRendererPage class with the specified GUID and description.

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

Syntax

protected ControlRendererPage(
    Guid id,
    string displayName,
    string description
)
protected:
ControlRendererPage(
    Guid id,
    String^ displayName,
    String^ description
)
Protected Sub New (
    id As Guid,
    displayName As String,
    description As String
)

Parameters

  • id
    Type: System.Guid

    The GUID that uniquely identifies the page.

  • displayName
    Type: System.String

    The display name of the page. The display name is used to identify the tab in the Dashboard.

  • description
    Type: System.String

    The description of the page. The description is displayed when the mouse pointer is moved over the tab.

Remarks

For more information about creating a GUID, see "Create Guid (guidgen.exe)" at the Microsoft Web site (https://go.microsoft.com/fwlink/?LinkId=116098).

Examples

The following code example shows how to initialize a new ControlRendererPage object in the user-defined class:

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

See Also

ControlRendererPage Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top