共用方式為


ContentDialog.dispose method

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

Syntax

contentDialog.dispose();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

ContentDialog