次の方法で共有


View::Is method

The Is method determines whether the view is the same as a specified view.

Syntax

View.Is( _
  ByVal View As View _
) As Boolean

Parameters

View

View object to compare to this view.

Examples

' Determine if objView is the same object as objOtherView.
Dim nSame As Boolean
 
nSame = objView.Is(objOtherView)
If (True = nSame) Then
    MsgBox ("The View objects are the same")
Else
    MsgBox ("The View objects are not the same")
End If

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