CIMTranslationGroups.RemoveGroup (method)

Removes the CIMTranslationGroup with the provided key.
Syntax: object.RemoveGroup Key
Parameters:
Key As String -
Description: Removes the CIMTranslationGroup with the provided key.

Example:

Sub RemoveGroup_Example()
    
    Dim oLangMap As CIMLangMapper.CIMLangMap
    Dim oTranslationGroups As CIMLangMapper.CIMTranslationGroups
    Dim oTranslationGroup As CIMLangMapper.CIMTranslationGroup
    
    Set oLangMap = CreateObject("CIMLangMapper.CIMLangMap")
    Set oTranslationGroups = oLangMap.TranslationGroups
    Set oTranslationGroup = oTranslationGroups.AddTranslationGroup("Wheel bearing")
    oTranslationGroups.RemoveGroup "Wheel bearing"
End Sub
See Also: CIMLangMap.TranslationGroups