Partager via


SPSolutionLanguagePackCollection.Add - Méthode (String, UInt32)

Ajoute un pack de langue avec l'identificateur de fichier et les paramètres régionaux de solution spécifié à la collection de modules linguistiques associés à une solution.

Espace de noms :  Microsoft.SharePoint.Administration
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Function Add ( _
    path As String, _
    lcid As UInteger _
) As SPSolutionLanguagePack
'Utilisation
Dim instance As SPSolutionLanguagePackCollection
Dim path As String
Dim lcid As UInteger
Dim returnValue As SPSolutionLanguagePack

returnValue = instance.Add(path, lcid)
public SPSolutionLanguagePack Add(
    string path,
    uint lcid
)

Paramètres

  • path
    Type : System.String

    Le chemin d'accès du fichier de solution pour ce module linguistique.

  • lcid
    Type : System.UInt32

    L'identificateur de paramètres régionaux pour le module linguistique.

Valeur renvoyée

Type : Microsoft.SharePoint.Administration.SPSolutionLanguagePack
Un objet SPSolutionLanguagePack .

Remarques

Important

À l'aide du constructeur SPSolutionLanguagePack pour créer un objet de pack de langue n'est pas pris en charge et retourne un NullReferenceException si vous essayez d'implémenter des membres d'un objet créé via le constructeur.

Voir aussi

Référence

SPSolutionLanguagePackCollection classe

SPSolutionLanguagePackCollection - Membres

Add - Surcharge

Microsoft.SharePoint.Administration - Espace de noms