DataMenuCommand Constructor (CommandID)
Initializes a new instance of the DataMenuCommand class, specifying the command identifier.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
‘선언
Public Sub New ( _
command As CommandID _
)
public DataMenuCommand(
CommandID command
)
public:
DataMenuCommand(
CommandID^ command
)
new :
command:CommandID -> DataMenuCommand
public function DataMenuCommand(
command : CommandID
)
Parameters
- command
Type: System.ComponentModel.Design.CommandID
A CommandID object containing the unique command ID that links this menu command to the environment's menu.
Remarks
This constructor delegates to DataMenuCommand and passes nulla null reference (Nothing in Visual Basic) for the last two arguments.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.