Delen via


DataViewMenuCommand Constructor (Int32, CommandID)

Initializes a new instance of the DataViewMenuCommand class, specifying the item ID and command identifier.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Sub New ( _
    itemId As Integer, _
    command As CommandID _
)
public DataViewMenuCommand(
    int itemId,
    CommandID command
)
public:
DataViewMenuCommand(
    int itemId, 
    CommandID^ command
)
new : 
        itemId:int * 
        command:CommandID -> DataViewMenuCommand
public function DataViewMenuCommand(
    itemId : int, 
    command : CommandID
)

Parameters

  • itemId
    Type: System.Int32

    A numerical value that uniquely identifies a node in the data view hierarchy.

Remarks

This constructor delegates the call to DataViewMenuCommand and passes nulla null reference (Nothing in Visual Basic) for the last two arguments.

.NET Framework Security

See Also

Reference

DataViewMenuCommand Class

DataViewMenuCommand Overload

Microsoft.VisualStudio.Data.Framework Namespace