CODModel::RegisterID

BOOL CODModel::RegisterID(ODComponentId lID, CODComponent* pComp)

Registers the ID as unique for the model within this diagram. This will unregister the previous ID of the component if there was one.

Defined in: OdModel.cpp

Return Value

Non-zero if the ID was registered, zero if it was already registered with another component.

Parameters

lID

The ID to register.

pComp

The component to register the ID for.