Share via


ISharePointProjectItem.DefaultFile 属性

定义

获取或设置当激活“解决方案资源管理器”中的 SharePoint 项目项节点时所启动的文件。

public:
 property Microsoft::VisualStudio::SharePoint::ISharePointProjectItemFile ^ DefaultFile { Microsoft::VisualStudio::SharePoint::ISharePointProjectItemFile ^ get(); void set(Microsoft::VisualStudio::SharePoint::ISharePointProjectItemFile ^ value); };
public Microsoft.VisualStudio.SharePoint.ISharePointProjectItemFile DefaultFile { get; set; }
member this.DefaultFile : Microsoft.VisualStudio.SharePoint.ISharePointProjectItemFile with get, set
Public Property DefaultFile As ISharePointProjectItemFile

属性值

一个表示文件的对象。

注解

SharePoint 扩展可以设置此属性或处理 Open 事件以控制项目项文件夹节点激活行为。

适用于