MenuCommand.dispose method
Releases resources held by this MenuCommand. Call this method when the MenuCommand is no longer needed. After calling this method, the MenuCommand becomes unusable.
Syntax
menuCommand.dispose();
Parameters
This method has no parameters.
Return value
This method does not return a value.
Requirements
Minimum WinJS version |
WinJS 2.0 |
Namespace |
WinJS.UI |
See also
Designers
Guidelines for flyouts
Guidelines for context menus