ISharePointProjectItem.DefaultFile Property


Get or sets the file that is launched when a SharePoint project item node in Solution Explorer is activated.

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

ISharePointProjectItemFile DefaultFile { get; set; }

Property Value

Type: Microsoft.VisualStudio.SharePoint.ISharePointProjectItemFile

An object representing a file.

A SharePoint extension can either set this property or handle the Open event to control the project item folder node activation behavior.

Return to top