次の方法で共有


View::Close method

The Close method closes the view. You cannot close the last view of the document; instead, you must close the document.

Syntax

View.Close()

Parameters

This method has no parameters.

Return value

This method does not return a value.

Examples

' Close the View.
objView.Close

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmc.exe
IID
IID_View is defined as 6EFC2DA2-B38C-457E-9ABB-ED2D189B8C38

See also

Document.Close