ISharePointProjectItemFileCollection.Item 属性
按文件名获取 SharePoint 项目项文件。
命名空间: Microsoft.VisualStudio.SharePoint
程序集: Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)
语法
声明
ReadOnly Default Property Item ( _
fileName As String _
) As ISharePointProjectItemFile
Get
ISharePointProjectItemFile this[
string fileName
] { get; }
参数
- fileName
类型:System.String
SharePoint 项目项文件夹文件的绝对路径或相对路径。
属性值
类型:Microsoft.VisualStudio.SharePoint.ISharePointProjectItemFile
一个表示项目项文件的对象。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。