Action Constructor (String, String, Int32, Object)
Initializes a new instance of the Action class using the display name, description, image index, and additional user-defined data as parameters
Namespace: Microsoft.ManagementConsole
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
Syntax
public Action(
string displayName,
string description,
int imageIndex,
object tag
)
public:
Action(
String^ displayName,
String^ description,
int imageIndex,
Object^ tag
)
new :
displayName:string *
description:string *
imageIndex:int *
tag:Object -> Action
Public Sub New (
displayName As String,
description As String,
imageIndex As Integer,
tag As Object
)
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.
tag
Type: System.ObjectUser-defined arbitrary data.
See Also
Action Overload
Action Class
Microsoft.ManagementConsole Namespace
Return to top