Share via


ISharePointProjectFeatureResourceFileCollection.Add Method

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

Creates a new resource file for the specified culture and adds it to this collection.

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

Syntax

'Declaration
Function Add ( _
    cultureInfo As CultureInfo _
) As ISharePointProjectFeatureResourceFile
ISharePointProjectFeatureResourceFile Add(
    CultureInfo cultureInfo
)

Parameters

Return Value

Type: Microsoft.VisualStudio.SharePoint.ISharePointProjectFeatureResourceFile
An object representing a resource file.

Exceptions

Exception Condition
ArgumentNullException

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

ArgumentException

Occurs if a resource file with the specified cultureInfo already exists.

.NET Framework Security

See Also

Reference

ISharePointProjectFeatureResourceFileCollection Interface

Microsoft.VisualStudio.SharePoint Namespace