June 2002
Intermediate to advanced
816 pages
28h 12m
English
CommandEventArgs
This class is used by the CommandEventHandler to provide extra
information to a Command event handler. This information is stored
in two properties: CommandName and CommandArgument, which
are both strings. These properties are used only by your code, and can thus be used
to store any information you need. For example, you might set CommandName to “Sort”
and CommandArgument to
“Ascending.”
Public Class CommandEventArgs : Inherits EventArgs ' Public Constructors Public Sub New(ByVal e As CommandEventArgs) Public Sub New(ByVal commandName As String, ByVal argument As Object) ' Public Instance Properties Public ReadOnly Property CommandArgument As Object Public ReadOnly Property CommandName As String End Class
System.Object→System.EventArgs→ CommandEventArgs
Read now
Unlock full access