Releases resources held by this NavBarCommand. Call this method when the NavBarCommand is no longer needed. After calling this method, the NavBarCommand becomes unusable.
This method has no parameters.
This method does not return a value.
Minimum WinJS version
Bottom app bar
Top app bar