Share via


SyncAction Constructor (String, String, Int32, Object)

 

Initializes a new instance of the SyncAction class using the display name, description, image index, and a user-defined tag as parameters.

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

Syntax

public SyncAction(
    string displayName,
    string description,
    int imageIndex,
    object tag
)
public:
SyncAction(
    String^ displayName,
    String^ description,
    int imageIndex,
    Object^ tag
)
new : 
        displayName:string *
        description:string *
        imageIndex:int *
        tag:Object -> SyncAction
Public Sub New (
    displayName As String,
    description As String,
    imageIndex As Integer,
    tag As Object
)

Parameters

  • displayName
    Type: System.String

    A short description of the item.

  • description
    Type: System.String

    A long description of the item.

  • imageIndex
    Type: System.Int32

    An index to the image for the item.

See Also

SyncAction Overload
SyncAction Class
Microsoft.ManagementConsole Namespace

Return to top