共用方式為


ISharePointProjectFeatureCollection.Item[String] Property

Definition

Gets an instance of ISharePointProjectFeature with the specified folder path.

public:
 property Microsoft::VisualStudio::SharePoint::ISharePointProjectFeature ^ default[System::String ^] { Microsoft::VisualStudio::SharePoint::ISharePointProjectFeature ^ get(System::String ^ folderPath); };
public Microsoft.VisualStudio.SharePoint.ISharePointProjectFeature this[string folderPath] { get; }
member this.Item(string) : Microsoft.VisualStudio.SharePoint.ISharePointProjectFeature
Default Public ReadOnly Property Item(folderPath As String) As ISharePointProjectFeature

Parameters

folderPath
String

An ISharePointProjectFeature folder path.

Property Value

An instance of the SharePoint feature if it is found; null (or Nothing in Visual Basic) otherwise.

Remarks

The folder path can be an absolute folder path, a relative path to the project folder, or a folder name.

Applies to