Click or drag to resize

InternalElementTypeHasSystemUnitClassReference Method

Determines whether this InternalElement object has an associated reference to the specified SystemUnitClass. If inheritance relations between systemUnitClasses should be regarded, the optional parameter 'regardInheritance' should be set. In this case the specified SystemUnitClass is either identical to a referenced SystemUnitClass or a referenced SystemUnitClass is derived from the specified SystemUnitClass.

Namespace: Aml.Engine.CAEX
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public bool HasSystemUnitClassReference(
	SystemUnitFamilyType systemUnitClass,
	bool regardInheritance = false
)

Parameters

systemUnitClass  SystemUnitFamilyType
The SystemUnitClass object.
regardInheritance  Boolean  (Optional)
if set to true inheritance relations are regarded (default is false).

Return Value

Boolean
true if this InternalElement object has an associated reference to the specified SystemUnitClass; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullExceptionroleClass
See Also