ISharePointProjectItemEvents.ProjectItemOpen Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a SharePoint project item folder opens.
public:
event EventHandler<Microsoft::VisualStudio::SharePoint::SharePointProjectItemOpenEventArgs ^> ^ ProjectItemOpen;
event EventHandler<Microsoft.VisualStudio.SharePoint.SharePointProjectItemOpenEventArgs> ProjectItemOpen;
member this.ProjectItemOpen : EventHandler<Microsoft.VisualStudio.SharePoint.SharePointProjectItemOpenEventArgs>
Event ProjectItemOpen As EventHandler(Of SharePointProjectItemOpenEventArgs)
Event Type
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.