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)
Syntax
public Action(
string displayName,
string description,
int imageIndex
)
public:
Action(
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
)
Parameters
displayName
Type: System.StringA short display name for the action.
description
Type: System.StringA long description string.
imageIndex
Type: System.Int32The 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