Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
cultureInfo
Type: CultureInfoThe culture info for the new resource file.
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
- 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.