Share via


SPSolutionLanguagePackCollection.Remove Method

Include Protected Members
Include Inherited Members

Removes the language pack from the collection of language packs.

Overload List

  Name Description
Public method Remove(Guid) Removes the language pack with the specified GUID from the collection of language packs. (Overrides SPPersistedChildCollection<T>.Remove(Guid).)
Public method Remove(UInt32) Removes the language pack with the specified locale identifier from the collection of language packs.

Top

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

Microsoft.SharePoint.Administration Namespace