Compartilhar via


SyncAction Constructor (String, String, Int32)

 

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

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

Syntax

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

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