Share via


ISharePointProjectItem.DefaultFile Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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