RC-WinTrans Object Model Help |
TransUnitProperties.Exists
|
Returns whether the given property exists.
Syntax: |
Exists( PropertyName As String, NamespaceURI As String ) As Boolean |
| Return: | Boolean |
| Parameters: |
PropertyName Name of the property. If the searched property is not an XLIFF attribute, the ExtendedName should be used here. NamespaceURI Namespace URI of the searched property.
|
| Example: | Dim TUProps As TransUnitProperties
Dim TUProp As TransUnitProperty
Set TUProps = Application.ActiveTransUnit.Properties
If (TUProps.Exists("transunit_resname", "")) Then
Set TUProp = TUProps.Item("transunit_resname", "")
End If
|
See also: