Partager via


ISharePointProjectFeatureResourceFileCollection.Item Property

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

Gets the feature resource file specified 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 ISharePointProjectFeatureResourceFile
ISharePointProjectFeatureResourceFile this[
    string fileName
] { get; }

Parameters

  • fileName
    Type: System.String

    Either a path relative to the feature folder or an absolute file path to the feature.

Property Value

Type: Microsoft.VisualStudio.SharePoint.ISharePointProjectFeatureResourceFile
An object representing a feature if it is found; nulla null reference (Nothing in Visual Basic) if it not found.

Exceptions

Exception Condition
ArgumentNullException

Occurs if fileName is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

ISharePointProjectFeatureResourceFileCollection Interface

Microsoft.VisualStudio.SharePoint Namespace