ISharePointProjectItemFileCollection.Item プロパティ

ファイル名を使用して SharePoint プロジェクト アイテム ファイルを取得します。

名前空間:  Microsoft.VisualStudio.SharePoint
アセンブリ:  Microsoft.VisualStudio.SharePoint (Microsoft.VisualStudio.SharePoint.dll 内)

構文

'宣言
ReadOnly Default Property Item ( _
    fileName As String _
) As ISharePointProjectItemFile
ISharePointProjectItemFile this[
    string fileName
] { get; }

パラメーター

  • fileName
    型 : System.String
    SharePoint プロジェクト アイテム フォルダーのファイル パスを基準とした絶対パスまたは相対パス。

プロパティ値

型 : Microsoft.VisualStudio.SharePoint.ISharePointProjectItemFile
プロジェクト アイテム ファイルを表すオブジェクト。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

ISharePointProjectItemFileCollection インターフェイス

Microsoft.VisualStudio.SharePoint 名前空間