Share via


SPSolutionLanguagePackCollection.Remove method (Guid)

Removes the language pack with the specified GUID from the collection of language packs.

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

Syntax

'Declaration
Public Overrides Sub Remove ( _
    id As Guid _
)
'Usage
Dim instance As SPSolutionLanguagePackCollection
Dim id As Guid

instance.Remove(id)
public override void Remove(
    Guid id
)

Parameters

  • id
    Type: System.Guid

    The GUID associated with this language pack.

Remarks

Use the Id property to return the language pack's GUID.

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