| PhysicalUnitAreUnitTypesCompatible Method |
Determines whether the unit types of the specified units are compatible.
Two unit types are compatible if both their types are well-defined
(not "other" or "no type") and are identical.
Namespace: Sdl.LanguagePlatform.Core.TokenizationAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic static bool AreUnitTypesCompatible(
Unit a,
Unit b
)
Public Shared Function AreUnitTypesCompatible (
a As Unit,
b As Unit
) As Boolean
public:
static bool AreUnitTypesCompatible(
Unit a,
Unit b
)
static member AreUnitTypesCompatible :
a : Unit *
b : Unit -> bool
Parameters
- a
- Type: Sdl.LanguagePlatform.Core.TokenizationUnit
The first unit - b
- Type: Sdl.LanguagePlatform.Core.TokenizationUnit
The second unit
Return Value
Type:
BooleanA flag indicating whether the units' types are compatible or not.
See Also
Comments