Share via


SPSolutionLanguagePackCollection.Remove method (UInt32)

Removes the language pack with the specified locale identifier from the collection of language packs.

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

Syntax

'Declaration
Public Sub Remove ( _
    lcid As UInteger _
)
'Usage
Dim instance As SPSolutionLanguagePackCollection
Dim lcid As UInteger

instance.Remove(lcid)
public void Remove(
    uint lcid
)

Parameters

  • lcid
    Type: System.UInt32

    The locale identifier for the language pack to be removed.

Remarks

Do not remove the last language pack from the collection. If all the language packs have been removed from the collection, an error is raised when you attempt to remove the associated language-neutral solution from SPSolutionCollection. Once all language packs are removed for a solution, you can only remove the solution using the solution's Delete method.

See also

Reference

SPSolutionLanguagePackCollection class

SPSolutionLanguagePackCollection members

Remove overload

Microsoft.SharePoint.Administration namespace