共用方式為


DatePicker.dispose method

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

Syntax

datePicker.dispose();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

DatePicker