共用方式為


SP.UI.Dialog.close(dialogResult) Method

Applies to: SharePoint Foundation 2010

Closes the dialog with the specified dialog result.

SP.UI.Dialog.close(dialogResult);

Parameters

dialogResult

Type: SP.UI.DialogResult

The result of the dialog.

Remarks

This method closes the dialog and releases the resources used by the dialog.

Applies To

SP.UI.Dialog Class

See Also

Reference

SP.UI.Dialog Methods

SP.UI.Dialog Properties

SP.UI Namespace