ToggleSwitch.dispose method

Applies to Windows and Windows Phone

Releases resources held by this ToggleSwitch. Call this method when the ToggleSwitch is no longer needed. After calling this method, the ToggleSwitch becomes unusable.

Syntax


toggleSwitch.dispose();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

See also

ToggleSwitch

 

 

Show:
© 2014 Microsoft