CIMTranslation.Value (property)

Gets the value of this translation.
Syntax: String = object.Value
object.Value = String
Description: Gets and sets the value of this translation.


Sub Translation_Example()
    Dim oLangMap As CIMLangMapper.CIMLangMap
    Dim oTranslationGroup As CIMLangMapper.CIMTranslationGroup
    Dim oTranslation As CIMLangMapper.CIMTranslation
    Set oLangMap = CreateObject("CIMLangMapper.CIMLangMap")
    oLangMap.Load "c:\trans.clm"
    Set oTranslationGroup = oLangMap.LookupTranslationGroup("Wheel bearing")
    if Not oTranslationGroup Is Nothing Then
      For Each oTranslation In oTranslationGroup.Translations
        MsgBox oTranslation.Value
        MsgBox oTranslation.Language.Name
      Next oTranslation
    End If
End Sub