ObjectVersionCheckerIsEntityReadable Method

Checks whether it is allowed to read entities of the specified class in the database.

Namespace: Autodesk.Civil
Assembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntax
public static bool IsEntityReadable(
	Database database,
	RXClass rxClass
)

Parameters

database  Database
The database containing the entities to be read.
rxClass  RXClass
The runtime class of the entity type to check.

Return Value

Boolean
True if entities of the specified class can be read; otherwise, false. Returns true for backward compatibility scenarios where data can be read but not written. Returns false for forward compatibility scenarios where the data comes from a newer version.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when database or rxClass is null.
See Also