IsOpen Property

       

Returns a Boolean value indicating whether the ProjectItem is open for a particular view (designer, editor, and so on).

Syntax

Property Get IsOpen (viewkind As String) As Boolean

This syntax has these parts:

Part Description
viewkind Required, a GUID string specifying the kind of view to open. The ProjectItems collection supports at least the following views: CodeView, DesignerView, and PrimaryView.