Compartilhar via


DetailGroup Constructor (String)

 

Initializes a new instance of the DetailGroup class with the specified display name.

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

Syntax

public DetailGroup(
    string displayName
)
public:
DetailGroup(
    String^ displayName
)
Public Sub New (
    displayName As String
)

Parameters

Exceptions

Exception Condition
ArgumentException

displayName is not valid.

ArgumentNullException

displayName is null.

Examples

The following code example shows how to initialize a DetailColumn and a DetailGroup, and add the group to the column:

DetailColumn column = new DetailColumn();
DetailGroup group = new DetailGroup("Computer Information");
column.Add(group);

See Also

DetailGroup Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top