Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​ComponentModel.​Design.​CommandID
Assembly: System.ComponentModel.TypeConverter
Inheritance: object → CommandID
Represents a unique command identifier that consists of a numeric command ID and a GUID menu group identifier.
Properties
public
Guid
Guid
Gets the GUID of the menu group that the menu command identified by this <see cref="T:System.ComponentModel.Design.CommandID" /> belongs to.
public
int
ID
Gets the numeric command ID.
Methods
public
bool
Equals​(object obj)
Determines whether two <see cref="T:System.ComponentModel.Design.CommandID" /> instances are equal.
Returns <see langword="true" /> if the specified object is equivalent to this one; otherwise, <see langword="false" /> .
obj
The object to compare.
public
int
GetHashCode​()
Serves as a hash function for a particular type.
Returns A hash code for the current <see cref="T:System.Object" /> .
public
string
ToString​()
Returns a <see cref="T:System.String" /> that represents the current object.
Returns A string that contains the command ID information, both the GUID and integer identifier.
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object