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)
Available in Sandboxed Solutions: No
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.UInt32The 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