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
- 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.