CommandID Constructor
Collapse the table of content
Expand the table of content

CommandID Constructor (Guid, Int32)

 

Initializes a new instance of the CommandID class using the specified menu group GUID and command ID number.

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

public CommandID(
	Guid menuGroup,
	int commandID
)

Parameters

menuGroup
Type: System.Guid

The GUID of the group that this menu command belongs to.

commandID
Type: System.Int32

The numeric identifier of this menu command.

This method creates a new command ID.

NamedPermissionSet

for full access to system resources. Demand values: LinkDemand, InheritanceDemand. Associated state:

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft