Share via


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)

Syntax

'Declaration
Property DefaultFile As ISharePointProjectItemFile
ISharePointProjectItemFile DefaultFile { get; set; }

Property Value

Type: Microsoft.VisualStudio.SharePoint.ISharePointProjectItemFile
An object representing a file.

Remarks

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

.NET Framework Security

See Also

Reference

ISharePointProjectItem Interface

Microsoft.VisualStudio.SharePoint Namespace