Bagikan melalui


ISharePointProjectItemFileCollection.Item Property

Gets a SharePoint project item file by the file name.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

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

Parameters

  • fileName
    Type: System.String
    The absolute or relative to the SharePoint project item folder file path.

Property Value

Type: Microsoft.VisualStudio.SharePoint.ISharePointProjectItemFile
An object representing a project item file.

.NET Framework Security

See Also

Reference

ISharePointProjectItemFileCollection Interface

Microsoft.VisualStudio.SharePoint Namespace