共用方式為


Flyout.dispose method

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

Syntax

flyout.dispose();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Requirements

Minimum WinJS version

WinJS 2.0

Namespace

WinJS.UI

See also

Flyout

Menu

MenuCommand

Displaying popups

Laying out your UI

HTML flyout control sample

Designers

Command patterns

Flyout

Guidelines for flyouts

Context menu

Guidelines for context menus