ISharePointProjectFeatureResourceFileCollection.Item Property
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: StringEither 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.