DOFTypeisCompatibleWith Method OpenDOF Object Access Library
Check for compatibility between a type and a value, properly handling the case where the value is
null
.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public static void isCompatibleWith(
	DOFType type,
	DOFValue value
)

Parameters

type
Type: org.opendof.core.oalDOFType
The type to check compatibility against. Must not be null.
value
Type: org.opendof.core.oalDOFValue
The value to check, which may be
null
.
Exceptions

ExceptionCondition
DOFErrorExceptionThrown if the value and type are not compatible.
DOFErrorException
Remarks

Check for compatibility between a type and a value, properly handling the case where the value is
null
.
See Also

Reference