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