Action Constructor (String, String, Int32)


Initializes a new instance of the Action class using the display name, description, and image index as parameters.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)


public Action(
    string displayName,
    string description,
    int imageIndex
    String^ displayName,
    String^ description,
    int imageIndex
new : 
        displayName:string *
        description:string *
        imageIndex:int -> Action
Public Sub New (
    displayName As String,
    description As String,
    imageIndex As Integer


  • displayName
    Type: System.String

    A short display name for the action.

  • imageIndex
    Type: System.Int32

    The index of the image corresponding to this action item in the actions pane.

See Also

Action Overload
Action Class
Microsoft.ManagementConsole Namespace

Return to top