共用方式為


ISharePointProjectItemCollection.Item Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets an instance of a ISharePointProjectItem by its folder path.

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

Syntax

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

Parameters

Property Value

Type: Microsoft.VisualStudio.SharePoint.ISharePointProjectItem
An instance of a SharePoint project item if it is found; nulla null reference (Nothing in Visual Basic) or Nothing otherwise.

Remarks

folderPath can be either an absolute folder path or a relative path to the project folder.

.NET Framework Security

See Also

Reference

ISharePointProjectItemCollection Interface

Microsoft.VisualStudio.SharePoint Namespace