Share via


CommandItem Constructor (String, ICommand, ImageSource, Object)

Namespace:  Microsoft.TeamFoundation.Controls.WPF
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

Syntax

'Declaration
Public Sub New ( _
    title As String, _
    command As ICommand, _
    icon As ImageSource, _
    param As Object _
)
public CommandItem(
    string title,
    ICommand command,
    ImageSource icon,
    Object param
)
public:
CommandItem(
    String^ title, 
    ICommand^ command, 
    ImageSource^ icon, 
    Object^ param
)
new : 
        title:string * 
        command:ICommand * 
        icon:ImageSource * 
        param:Object -> CommandItem
public function CommandItem(
    title : String, 
    command : ICommand, 
    icon : ImageSource, 
    param : Object
)

Parameters

.NET Framework Security

See Also

Reference

CommandItem Class

CommandItem Overload

Microsoft.TeamFoundation.Controls.WPF Namespace