Share via


ISharePointProjectItemEvents.ProjectItemOpen Event

Occurs when a SharePoint project item folder opens.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Event ProjectItemOpen As EventHandler(Of SharePointProjectItemOpenEventArgs)
event EventHandler<SharePointProjectItemOpenEventArgs> ProjectItemOpen

Remarks

To "open" a project item folder, you can either double-click on SharePoint project item folder, press the Enter key, or execute an "Open" command.

A project item type provider or extension can override the default behavior by setting Handled to true.

By default, the SharePoint project item uses the DefaultFile instance and opens a default editor for it. You can change the DefaultFile property in the ProjectItemOpen event handler.

.NET Framework Security

See Also

Reference

ISharePointProjectItemEvents Interface

Microsoft.VisualStudio.SharePoint Namespace