ISharePointProjectItem.Open Event
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Occurs when a SharePoint project item folder opens.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Event Open As EventHandler(Of SharePointProjectItemOpenEventArgs)
event EventHandler<SharePointProjectItemOpenEventArgs> Open
Remarks
To "open" a SharePoint project item folder, you can either double-click it, 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 Open event handler.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.