共用方式為


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 安全性

請參閱

參考

ISharePointProjectItemFileCollection 介面

Microsoft.VisualStudio.SharePoint 命名空間