CIMLanguages.RemoveLanguage (method)

Removes the CIMLanguage with the provided name.
Syntax: object.RemoveLanguage Name
Parameters:
Name As String -
Description: Removes the CIMLanguage with the provided name. The name is case insensitive so "JPN", is the same as "jpn".

Example:

Sub RemoveLanguage_Example()
    
    Dim oLangMap As CIMLangMapper.CIMLangMap
    Dim oLangs As CIMLangMapper.CIMLanguages
    Dim oLang As CIMLangMapper.CIMLanguage
    
    Set oLangMap = CreateObject("CIMLangMapper.CIMLangMap")
    
    Set oLangs = oLangMap.Languages
    Set oLang = oLangs.AddLanguage("JPN", 1041)
    oLangs.RemoveLanguage "JPN"
    
End Sub
See Also: CIMLanguage , AddLanguage , CIMLangMap.AddLanguage